#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.9).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `#!/bin/sh' line above, then type `sh FILE'.
#
lock_dir=_sh32349
# Made on 2012-02-09 22:43 CET by <seb@localhost>.
# Source directory was `/home/seb/Programmation/Anjuta'.
#
# Existing files will *not* be overwritten, unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    497 -rw-r--r-- gnucash/intl-scm/Makefile.am
#    221 -rw-r--r-- gnucash/checks/Makefile.am
#  48764 -rw-r--r-- gnucash/configure.ac
#    805 -rw-r--r-- gnucash/lib/guile-www/Makefile.am
#    898 -rw-r--r-- gnucash/lib/libc/Makefile.am
#    259 -rw-r--r-- gnucash/lib/stf/Makefile.am
#     85 -rw-r--r-- gnucash/lib/Makefile.am
#    381 -rw-r--r-- gnucash/doc/examples/Makefile.am
#   1812 -rw-r--r-- gnucash/doc/Makefile.am
#    670 -rw-r--r-- gnucash/accounts/pl/Makefile.am
#    607 -rw-r--r-- gnucash/accounts/es_ES/Makefile.am
#    218 -rw-r--r-- gnucash/accounts/ru/Makefile.am
#    607 -rw-r--r-- gnucash/accounts/es_MX/Makefile.am
#    581 -rw-r--r-- gnucash/accounts/fr_CA/Makefile.am
#    640 -rw-r--r-- gnucash/accounts/fr_FR/Makefile.am
#    290 -rw-r--r-- gnucash/accounts/de_CH/Makefile.am
#    524 -rw-r--r-- gnucash/accounts/it/Makefile.am
#    585 -rw-r--r-- gnucash/accounts/de_DE/Makefile.am
#    215 -rw-r--r-- gnucash/accounts/da/Makefile.am
#    640 -rw-r--r-- gnucash/accounts/fr_CH/Makefile.am
#    318 -rw-r--r-- gnucash/accounts/de_AT/Makefile.am
#    603 -rw-r--r-- gnucash/accounts/sk/Makefile.am
#    572 -rw-r--r-- gnucash/accounts/pt_PT/Makefile.am
#    190 -rw-r--r-- gnucash/accounts/el_GR/Makefile.am
#    641 -rw-r--r-- gnucash/accounts/hu_HU/Makefile.am
#    669 -rw-r--r-- gnucash/accounts/lv/Makefile.am
#    672 -rw-r--r-- gnucash/accounts/zh_CN/Makefile.am
#    143 -rw-r--r-- gnucash/accounts/Makefile.am
#    150 -rw-r--r-- gnucash/accounts/fi_FI/Makefile.am
#    668 -rw-r--r-- gnucash/accounts/ja/Makefile.am
#    606 -rw-r--r-- gnucash/accounts/pt_BR/Makefile.am
#    603 -rw-r--r-- gnucash/accounts/cs/Makefile.am
#    151 -rw-r--r-- gnucash/accounts/nl/Makefile.am
#    695 -rw-r--r-- gnucash/accounts/en_GB/Makefile.am
#    638 -rw-r--r-- gnucash/accounts/ko/Makefile.am
#    668 -rw-r--r-- gnucash/accounts/C/Makefile.am
#    356 -rw-r--r-- gnucash/accounts/tr_TR/Makefile.am
#    682 -rw-r--r-- gnucash/accounts/nb/Makefile.am
#   5707 -rw-r--r-- gnucash/macros/lt~obsolete.m4
#  11938 -rw-r--r-- gnucash/macros/ltoptions.m4
#   6228 -rw-r--r-- gnucash/macros/legacy_macros.m4
#   7194 -rw-r--r-- gnucash/macros/ac_pkg_swig.m4
#   1035 -rw-r--r-- gnucash/macros/as-scrub-include.m4
#   4893 -rw-r--r-- gnucash/macros/aqbanking.m4
#    703 -rw-r--r-- gnucash/macros/ltversion.m4
#   3029 -rw-r--r-- gnucash/macros/gnome-guile-checks.m4
# 260519 -rw-r--r-- gnucash/macros/libtool.m4
#   3255 -rw-r--r-- gnucash/macros/compiler-flags.m4
#   4372 -rw-r--r-- gnucash/macros/ltsugar.m4
#   2743 -rw-r--r-- gnucash/macros/binreloc.m4
#   2344 -rw-r--r-- gnucash/macros/ac_python_devel.m4
#   2326 -rw-r--r-- gnucash/macros/pkg.m4
#    715 -rw-r--r-- gnucash/packaging/win32/Makefile.am
#    551 -rw-r--r-- gnucash/packaging/Makefile.am
#   6035 -rw-r--r-- gnucash/Makefile.am
#   4266 -rw-r--r-- gnucash/src/app-utils/Makefile.am
#   2131 -rw-r--r-- gnucash/src/app-utils/test/Makefile.am
#   1200 -rw-r--r-- gnucash/src/tax/us/Makefile.am
#    587 -rw-r--r-- gnucash/src/tax/us/test/Makefile.am
#     13 -rw-r--r-- gnucash/src/tax/Makefile.am
#   2704 -rw-r--r-- gnucash/src/html/Makefile.am
#   1608 -rw-r--r-- gnucash/src/gnome-search/Makefile.am
#    765 -rw-r--r-- gnucash/src/engine/test-core/Makefile.am
#   4523 -rw-r--r-- gnucash/src/engine/Makefile.am
#   2417 -rw-r--r-- gnucash/src/engine/test/Makefile.am
#    238 -rw-r--r-- gnucash/src/test-core/Makefile.am
#     57 -rw-r--r-- gnucash/src/backend/Makefile.am
#   2606 -rw-r--r-- gnucash/src/backend/xml/Makefile.am
#  10030 -rw-r--r-- gnucash/src/backend/xml/test/Makefile.am
#    293 -rw-r--r-- gnucash/src/backend/xml/test/test-files/xml2/Makefile.am
#     15 -rw-r--r-- gnucash/src/backend/xml/test/test-files/Makefile.am
#    974 -rw-r--r-- gnucash/src/backend/dbi/Makefile.am
#   2195 -rw-r--r-- gnucash/src/backend/dbi/test/Makefile.am
#   1769 -rw-r--r-- gnucash/src/backend/sql/Makefile.am
#   1596 -rw-r--r-- gnucash/src/backend/sql/test/Makefile.am
#   2161 -rw-r--r-- gnucash/src/core-utils/Makefile.am
#    921 -rw-r--r-- gnucash/src/core-utils/test/Makefile.am
#   1408 -rw-r--r-- gnucash/src/gnc-module/Makefile.am
#    724 -rw-r--r-- gnucash/src/gnc-module/test/mod-bar/Makefile.am
#    849 -rw-r--r-- gnucash/src/gnc-module/test/mod-baz/Makefile.am
#   1765 -rw-r--r-- gnucash/src/gnc-module/test/Makefile.am
#    775 -rw-r--r-- gnucash/src/gnc-module/test/misc-mods/Makefile.am
#    730 -rw-r--r-- gnucash/src/gnc-module/test/mod-foo/Makefile.am
#   4961 -rw-r--r-- gnucash/src/pixmaps/Makefile.am
#    362 -rw-r--r-- gnucash/src/gnome/glade/Makefile.am
#   1066 -rw-r--r-- gnucash/src/gnome/schemas/Makefile.am
#   3812 -rw-r--r-- gnucash/src/gnome/Makefile.am
#    528 -rw-r--r-- gnucash/src/gnome/ui/Makefile.am
#    583 -rw-r--r-- gnucash/src/doc/design/Makefile.am
#   1347 -rw-r--r-- gnucash/src/doc/Makefile.am
#    207 -rw-r--r-- gnucash/src/doc/xml/Makefile.am
#     17 -rw-r--r-- gnucash/src/libqof/Makefile.am
#   2246 -rw-r--r-- gnucash/src/libqof/qof/Makefile.am
#    999 -rw-r--r-- gnucash/src/report/business-reports/Makefile.am
#   2721 -rw-r--r-- gnucash/src/report/report-gnome/Makefile.am
#   1048 -rw-r--r-- gnucash/src/report/report-gnome/test/Makefile.am
#   2294 -rw-r--r-- gnucash/src/report/report-system/Makefile.am
#    690 -rw-r--r-- gnucash/src/report/report-system/test/Makefile.am
#   1640 -rw-r--r-- gnucash/src/report/locale-specific/us/Makefile.am
#    989 -rw-r--r-- gnucash/src/report/locale-specific/us/test/Makefile.am
#     13 -rw-r--r-- gnucash/src/report/locale-specific/Makefile.am
#    320 -rw-r--r-- gnucash/src/report/Makefile.am
#   2160 -rw-r--r-- gnucash/src/report/standard-reports/Makefile.am
#    692 -rw-r--r-- gnucash/src/report/standard-reports/test/Makefile.am
#   1900 -rw-r--r-- gnucash/src/report/stylesheets/Makefile.am
#    916 -rw-r--r-- gnucash/src/report/stylesheets/test/Makefile.am
#   1389 -rw-r--r-- gnucash/src/report/utility-reports/Makefile.am
#    693 -rw-r--r-- gnucash/src/report/utility-reports/test/Makefile.am
#   3143 -rw-r--r-- gnucash/src/optional/python-bindings/Makefile.am
#    265 -rw-r--r-- gnucash/src/optional/python-bindings/tests/Makefile.am
#     55 -rw-r--r-- gnucash/src/optional/Makefile.am
#   1524 -rw-r--r-- gnucash/src/bin/overrides/Makefile.am
#   5818 -rw-r--r-- gnucash/src/bin/Makefile.am
#     91 -rw-r--r-- gnucash/src/bin/test/Makefile.am
#   1510 -rw-r--r-- gnucash/src/register/register-core/Makefile.am
#    579 -rw-r--r-- gnucash/src/register/register-core/test/Makefile.am
#   1838 -rw-r--r-- gnucash/src/register/register-gnome/Makefile.am
#    583 -rw-r--r-- gnucash/src/register/register-gnome/test/Makefile.am
#     50 -rw-r--r-- gnucash/src/register/Makefile.am
#   1683 -rw-r--r-- gnucash/src/register/ledger-core/Makefile.am
#    288 -rw-r--r-- gnucash/src/register/ledger-core/test/Makefile.am
#   1569 -rw-r--r-- gnucash/src/import-export/csv/Makefile.am
#    123 -rw-r--r-- gnucash/src/import-export/hbci/glade/Makefile.am
#    608 -rw-r--r-- gnucash/src/import-export/hbci/schemas/Makefile.am
#   2319 -rw-r--r-- gnucash/src/import-export/hbci/Makefile.am
#    147 -rw-r--r-- gnucash/src/import-export/hbci/test/Makefile.am
#    619 -rw-r--r-- gnucash/src/import-export/schemas/Makefile.am
#    608 -rw-r--r-- gnucash/src/import-export/aqbanking/schemas/Makefile.am
#   2050 -rw-r--r-- gnucash/src/import-export/aqbanking/Makefile.am
#   1203 -rw-r--r-- gnucash/src/import-export/log-replay/Makefile.am
#   1247 -rw-r--r-- gnucash/src/import-export/ofx/Makefile.am
#    205 -rw-r--r-- gnucash/src/import-export/ofx/test/Makefile.am
#   2058 -rw-r--r-- gnucash/src/import-export/Makefile.am
#    607 -rw-r--r-- gnucash/src/import-export/qif-import/schemas/Makefile.am
#   2671 -rw-r--r-- gnucash/src/import-export/qif-import/Makefile.am
#    464 -rw-r--r-- gnucash/src/import-export/qif-import/test/Makefile.am
#   1380 -rw-r--r-- gnucash/src/import-export/test/Makefile.am
#   1169 -rw-r--r-- gnucash/src/import-export/qif-io-core/Makefile.am
#   1053 -rw-r--r-- gnucash/src/import-export/qif-io-core/test/Makefile.am
#    854 -rw-r--r-- gnucash/src/import-export/qif/Makefile.am
#   1660 -rw-r--r-- gnucash/src/import-export/qif/test/Makefile.am
#    539 -rw-r--r-- gnucash/src/scm/gnumeric/Makefile.am
#   1632 -rw-r--r-- gnucash/src/scm/Makefile.am
#    828 -rw-r--r-- gnucash/src/Makefile.am
#    724 -rw-r--r-- gnucash/src/calculation/Makefile.am
#    157 -rw-r--r-- gnucash/src/calculation/test/Makefile.am
#    190 -rw-r--r-- gnucash/src/debug/valgrind/Makefile.am
#     23 -rw-r--r-- gnucash/src/debug/Makefile.am
#   1384 -rw-r--r-- gnucash/src/business/business-core/Makefile.am
#   1549 -rw-r--r-- gnucash/src/business/business-core/test/Makefile.am
#   1683 -rw-r--r-- gnucash/src/business/business-utils/Makefile.am
#   1697 -rw-r--r-- gnucash/src/business/business-ledger/Makefile.am
#    106 -rw-r--r-- gnucash/src/business/Makefile.am
#    282 -rw-r--r-- gnucash/src/business/business-gnome/glade/Makefile.am
#    619 -rw-r--r-- gnucash/src/business/business-gnome/schemas/Makefile.am
#   3609 -rw-r--r-- gnucash/src/business/business-gnome/Makefile.am
#    121 -rw-r--r-- gnucash/src/business/business-gnome/ui/Makefile.am
#   2175 -rw-r--r-- gnucash/src/business/dialog-tax-table/Makefile.am
#   1072 -rw-r--r-- gnucash/src/quotes/Makefile.am
#    467 -rw-r--r-- gnucash/src/gnome-utils/glade/Makefile.am
#    602 -rw-r--r-- gnucash/src/gnome-utils/schemas/Makefile.am
#   8426 -rw-r--r-- gnucash/src/gnome-utils/Makefile.am
#    100 -rw-r--r-- gnucash/src/gnome-utils/ui/Makefile.am
#   1924 -rw-r--r-- gnucash/src/gnome-utils/test/Makefile.am
#
MD5SUM=${MD5SUM-md5sum}
f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'`
test -n "${f}" && md5check=true || md5check=false
${md5check} || \
  echo 'Note: not verifying md5sums.  Consider installing GNU coreutils.'
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    case `$dir/gettext --version 2>&1 | sed 1q` in
      *GNU*) gettext_dir=$dir ;;
    esac
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null
then if (echo -n test; echo 1,2,3) | grep n >/dev/null
     then shar_n= shar_c='
'
     else shar_n=-n shar_c= ; fi
else shar_n= shar_c='\c' ; fi
f=shar-touch.$$
st1=200112312359.59
st2=123123592001.59
st2tr=123123592001.5 # old SysV 14-char limit
st3=1231235901

if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
   test ! -f ${st1} && test -f ${f}; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'

elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
   test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'

elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
   test ! -f ${st3} && test -f ${f}; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'

else
  shar_touch=:
  echo
  ${echo} 'WARNING: not restoring timestamps.  Consider getting and
installing GNU `touch'\'', distributed in GNU coreutils...'
  echo
fi
rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
#
if test ! -d ${lock_dir} ; then :
else ${echo} "lock directory ${lock_dir} exists"
     exit 1
fi
if mkdir ${lock_dir}
then ${echo} "x - created lock directory ${lock_dir}."
else ${echo} "x - failed to create lock directory ${lock_dir}."
     exit 1
fi
# ============= gnucash/intl-scm/Makefile.am ==============
if test ! -d 'gnucash'; then
  mkdir 'gnucash'
if test $? -eq 0
then ${echo} "x - created directory gnucash."
else ${echo} "x - failed to create directory gnucash."
     exit 1
fi
fi
if test ! -d 'gnucash/intl-scm'; then
  mkdir 'gnucash/intl-scm'
if test $? -eq 0
then ${echo} "x - created directory gnucash/intl-scm."
else ${echo} "x - failed to create directory gnucash/intl-scm."
     exit 1
fi
fi
if test -f 'gnucash/intl-scm/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/intl-scm/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/intl-scm/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/intl-scm/Makefile.am' &&
abs_top_srcdir=@abs_top_srcdir@
X
EXTRA_DIST = \
X  guile-strings.c \
X  xgettext.scm
X
# Cause automake to generate correct rules
# for maintainers
noinst_HEADERS = guile-strings.c
X
BUILT_SOURCES = guile-strings.c
X
SCMFILES = $(shell find ${abs_top_srcdir}/src -name test -prune -o -name '*.scm' -print )
X
# This needs to be generated in srcdir
guile-strings.c: $(SCMFILES)
X	rm -f guile-strings.c
X	cd ${srcdir} && rm -f guile-strings.c \
X	&& ${GUILE} -s ./xgettext.scm ${abs_top_srcdir} $(SCMFILES)
X
SHAR_EOF
  (set 20 10 05 15 18 37 29 'gnucash/intl-scm/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/intl-scm/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/intl-scm/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/intl-scm/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b2c8333f3b5abfa8221a6f91ce68a5e2  gnucash/intl-scm/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/intl-scm/Makefile.am'` -ne 497 && \
  ${echo} "restoration warning:  size of 'gnucash/intl-scm/Makefile.am' is not 497"
  fi
fi
# ============= gnucash/checks/Makefile.am ==============
if test ! -d 'gnucash/checks'; then
  mkdir 'gnucash/checks'
if test $? -eq 0
then ${echo} "x - created directory gnucash/checks."
else ${echo} "x - failed to create directory gnucash/checks."
     exit 1
fi
fi
if test -f 'gnucash/checks/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/checks/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/checks/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/checks/Makefile.am' &&
X
checksdir = ${GNC_CHECKS_DIR}
X
checks_DATA = \
X	deluxe.chk \
X	liberty.chk \
X	quicken.chk \
X	quicken_wallet.chk \
X	voucher.chk
X
EXTRA_DIST = \
X	deluxe.chk \
X	liberty.chk \
X	quicken.chk \
X	quicken_wallet.chk \
X	voucher.chk
SHAR_EOF
  (set 20 10 03 26 15 09 52 'gnucash/checks/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/checks/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/checks/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/checks/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
fc0981e177783bbc0ea07284fc32a35b  gnucash/checks/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/checks/Makefile.am'` -ne 221 && \
  ${echo} "restoration warning:  size of 'gnucash/checks/Makefile.am' is not 221"
  fi
fi
# ============= gnucash/configure.ac ==============
if test -f 'gnucash/configure.ac' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/configure.ac (file already exists)"
else
${echo} "x - extracting gnucash/configure.ac (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/configure.ac' &&
## -*-m4-*-
X
dnl Process this file with autoconf to produce a configure script.
X
# FILE:
# configure.in
#
# FUNCTION:
# implements checks for a variety of system-specific functions
#
# Contents:
#   Headers   - Autoconf header stuff
#   Variables - Hardcoded variables
#   Programs  - Check for programs binaries
#   Functions - Check for functions
#   With      - Check for --with/without options
#   Enable    - Check for --enable/disable options
#   Libraries - Check for libraries
#   Footer    - Autoconf footer stuff
X
# Autoconf initialization
AC_PREREQ(2.59)
AC_INIT([GnuCash], [2.3.17], [gnucash-devel@gnucash.org])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_SRCDIR(src/engine/Transaction.h)
X
# Initialize automake -- make sure we have at least version 1.9
AM_INIT_AUTOMAKE([1.9 dist-bzip2])
X
# Parse out the version number
GNUCASH_VERSION_STRING=AC_PACKAGE_VERSION
GNUCASH_MAJOR_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\1/' ]`
GNUCASH_MINOR_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\2/' ]`
GNUCASH_MICRO_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\3/' ]`
GNUCASH_LATEST_STABLE_SERIES=$GNUCASH_MAJOR_VERSION.$(($GNUCASH_MINOR_VERSION-($GNUCASH_MINOR_VERSION%2)))
X
# save any user/environment optimization flags before we muck with them in
# --enable-debug:
USER_OPTIMIZATION=""
for flag in $CFLAGS; do
X  tmp_flag=`echo $flag | sed -e 's,-O.,,'`
X  if test -z "$tmp_flag"; then
X    USER_OPTIMIZATION="$USER_OPTIMIZATION ${tmp_flag}"
X  fi
done
X
##  Do this first, because the other tests depend on it:
X
# Check for gcc and intltool (somehow breaks the suggested content
# order, doesn't it? Whatever.)
AC_PROG_CC
AM_PROG_CC_C_O
AC_GNU_SOURCE
AC_PROG_INTLTOOL
X
AM_GCONF_SOURCE_2
X
# Override gconf default install locations.  The default is to always
# put them into /etc.  This change puts them into $(prefix)/etc.
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
X  GCONF_SCHEMA_CONFIG_SOURCE="xml::${sysconfdir}/gconf/gconf.xml.defaults"
fi
GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY=`echo $GCONF_SCHEMA_CONFIG_SOURCE | cut -d ':' -f 3`
AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X
X
AC_SUBST(GNUCASH_MAJOR_VERSION)
AC_SUBST(GNUCASH_MINOR_VERSION)
AC_SUBST(GNUCASH_MICRO_VERSION)
AC_SUBST(GNUCASH_LATEST_STABLE_SERIES)
X
AC_DEFINE_UNQUOTED(GNUCASH_MAJOR_VERSION, $GNUCASH_MAJOR_VERSION,
X    [GnuCash Major version number])
AC_DEFINE_UNQUOTED(GNUCASH_MINOR_VERSION, $GNUCASH_MINOR_VERSION,
X    [GnuCash Minor version number])
AC_DEFINE_UNQUOTED(GNUCASH_MICRO_VERSION, $GNUCASH_MICRO_VERSION,
X    [GnuCash Micro version number])
AC_DEFINE_UNQUOTED(GNUCASH_LATEST_STABLE_SERIES, "$GNUCASH_LATEST_STABLE_SERIES",
X    [Most recent stable GnuCash series])
X
dnl Set of available languages.
ALL_LINGUAS="bg ca cs da de el en_GB es_NI es eu fa fi fr he hu it ja ko lt lv nb ne nl pl pt_BR pt ro ru rw sk sv ta tr uk vi zh_CN zh_TW"
X
GETTEXT_PACKAGE=gnucash
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
X    [GetText version number])
X
AM_GLIB_GNU_GETTEXT
X
X
# Enable only when we have autoconf --version >= 2.59
# on all platforms. Note that AC_PREREQ(2.59) may be
# insufficient to actually use v2.59 on OSX
#AC_CONFIG_MACRO_DIR(macros)
X
AC_PROG_INSTALL
X
AC_LIBTOOL_DLOPEN
AC_LIBTOOL_WIN32_DLL
AM_DISABLE_STATIC
AM_PROG_LIBTOOL
X
AC_SUBST(LIBTOOL_DEPS)
X
AC_ISC_POSIX
AC_C_BIGENDIAN
AC_PROG_MAKE_SET
AC_PROG_LN_S
AC_HEADER_STDC
X
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h sys/wait.h)
AC_CHECK_FUNCS(stpcpy memcpy timegm towupper)
AC_CHECK_FUNCS(setenv,,[
X  AC_CHECK_FUNCS(putenv,,[
X    AC_MSG_ERROR([Must have one of the setenv or putenv functions.])
X  ])
])
X
STRUCT_TM_GMTOFF_CHECK
SCANF_LLD_CHECK
if test x$am_cv_scanf_lld = "xno"; then
X  SCANF_QD_CHECK
X
X  if test x$am_cv_scanf_qd = "xno"; then
X    SCANF_I64D_CHECK
X    if test x$am_cv_scanf_i64d = "xno"; then
X      AC_MSG_ERROR([Cannot continue, no long long conversion support in scanf.])
X    fi
X  fi
fi
X
# test whether we are building directly from SVN/SVK
${srcdir}/util/gnc-svnversion ${srcdir} >/dev/null 2>&1
if test $? = 0 -o "x${BUILDING_FROM_SVN}" = "xyes" ; then
X  BUILDING_FROM_SVN=yes
X
X  # We need at least version 1.3.31 of SWIG because
X  # that's when SWIG doesn't barf on the "inline" keyword in C headers anymore
X  AC_PROG_SWIG(1.3.31)
else
X  BUILDING_FROM_SVN=no
X  # Make sure we've got swig-runtime.h and gnc-svninfo.h
X  AC_CHECK_FILE(${srcdir}/src/swig-runtime.h, [],
X    [AC_MSG_ERROR([
X
It looks like you are NOT building from Subversion
but I cannot find swig-runtime.h.  Check your PATH
and make sure we can find svnversion in your PATH!
Either that or contact gnucash-devel@gnucash.org because
the tarball you downloaded is broken.
X
X    ])])
X  AC_CHECK_FILE(${srcdir}/src/gnome-utils/gnc-svninfo.h, [],
X    [AC_MSG_ERROR([
X
It looks like you are NOT building from Subversion
but I cannot find gnc-svninfo.h.  Check your PATH
and make sure we can find svnversion in your PATH!
Either that or contact gnucash-devel@gnucash.org because
the tarball you downloaded is broken.
X
X    ])])
fi
AM_CONDITIONAL(BUILDING_FROM_SVN, test "x$BUILDING_FROM_SVN" = "xyes")
X
# Build dir adjustments
AM_CONDITIONAL(GNUCASH_SEPARATE_BUILDDIR, test "x${srcdir}" != "x.")
X
# Init binreloc
AM_BINRELOC
X
### --------------------------------------------------------------------------
### See if we have pkg-config
X
AC_PATH_PROG(PKG_CONFIG,pkg-config)
if test "x$PKG_CONFIG" = x; then
X  # @*%&$ Ximian programmers renamed this application
X  AC_PATH_PROG(PKG_CONFIG,pkgconfig)
X  if test "x$PKG_CONFIG" = x; then
X    AC_MSG_ERROR([Could not find the pkg-config (or pkgconfig) program.],)
X  fi
fi
X
### --------------------------------------------------------------------------
### Glib checks..
X
AM_PATH_GLIB_2_0(2.12.0,,AC_MSG_ERROR([
*** GLIB >= 2.12 is required to build Gnucash; please make sure you have the
*** development headers installed. The latest version of GLIB is
*** always available at ftp://ftp.gnome.org/pub/gnome/sources/glib/.]),
X    gthread gobject gmodule)
X
AC_MSG_CHECKING([for untested GLIB versions (glib >= 2.13.0)])
if $PKG_CONFIG 'glib-2.0 >= 2.13.0'
then
X  AC_MSG_RESULT(yes)
X  HAVE_UNTESTED_GLIB=yes
else
X  AC_MSG_RESULT(no)
fi
X
AC_CHECK_HEADERS(dirent.h dlfcn.h dl.h utmp.h locale.h mcheck.h unistd.h wctype.h)
X
# Gnucash replaced dlopen/dlsym by the g_module functions; dlsym
# is needed optionally in one place for BSD linkers, though.
DL_LIB=
AC_CHECK_FUNCS(dlsym,,[
X  AC_CHECK_LIB(dl, dlsym, DL_LIB="-ldl",[
X    AC_CHECK_LIB(dld, shl_load, DL_LIB="-ldld",[
X      AC_CHECK_FUNCS(dlsym, DL_LIB="")
X    ])
X  ])
])
X
oLIBS="$LIBS"
LIBS="$LIBS $DL_LIB"
AC_CHECK_FUNCS(dlerror,,)
LIBS="$oLIBS"
AC_SUBST(DL_LIB)
X
##################################################
# OS dependent checks
##################################################
AC_SUBST(SED)
X
# Set some defaults, they may be overridden below
REGEX_LIBS=""
X
AC_MSG_CHECKING(operating system)
case $host_os in
X  rhapsody* | darwin[1567].*)
X    AC_MSG_RESULT([darwin, but too old])
X    AC_MSG_ERROR([This platform is not supported, please
update to latest  darwin])
X    ;;
X  darwin*)
X    platform=darwin
X    AC_MSG_RESULT($platform)
X    AC_MSG_CHECKING(For GDK-Quartz)
X    platform=osx
X    _gdk_tgt=`$PKG_CONFIG --variable=target gdk-2.0`
X    if test "x$_gdk_tgt" = xquartz; then 
X      platform=darwin/quartz
X      AC_MSG_RESULT(yes)
X      AC_DEFINE(GDK_QUARTZ,,[Using GDK Quartz (not X11)])
X      PKG_CHECK_MODULES([IGE_MAC], ige-mac-integration,
X                        [_ige_mac=yes], [_ige_mac=no])
X      if test "x$_ige_mac" = xyes; then
X        IGE_MAC_LIBS="${IGE_MAC_LIBS} -lobjc"
X        IGE_MAC_CFLAGS="${IGE_MAC_CFLAGS} -xobjective-c"
X      fi
X      AC_MSG_RESULT(${_ige_mac})
X      AC_SUBST(IGE_MAC_LIBS)
X      AC_SUBST(IGE_MAC_CFLAGS)
X    else
X      AC_MSG_RESULT(no)
X    fi
X    ;;
X  mingw*|cygwin*)
X    platform=win32
X    AC_MSG_RESULT($platform)
X    LT_PROG_RC
X
X    AC_MSG_CHECKING(for native win32)
X    case $host_os in
X      mingw*)
X        native_win32=yes
X        AC_MSG_RESULT(yes)
X
X        HTMLHELP_LIBS=
X        AC_MSG_CHECKING(for HtmlHelpW)
X        saved_LIBS="${LIBS}"
X        LIBS="${LIBS} -lhtmlhelp"
X        AC_LINK_IFELSE(
X          [AC_LANG_PROGRAM(
X             [[#include <windows.h>
X               #include <htmlhelp.h>]],
X             [HtmlHelpW(0, (wchar_t*)"", HH_HELP_CONTEXT, 0);])],
X          [AC_MSG_RESULT(yes)
X           HTMLHELP_LIBS=-lhtmlhelp
X           AC_DEFINE(HAVE_HTMLHELPW,1,[System has HtmlHelpW])
X          ], [AC_MSG_RESULT(no)])
X        LIBS="${saved_LIBS}"
X        AC_SUBST(HTMLHELP_LIBS)
X        ;;
X      *)
X        AC_MSG_RESULT(no)
X        ;;
X    esac
X
X    REGEX_LIBS="-lregex"
X
X    # Adjust CFLAGS and LDFLAGS on Windows
X    CFLAGS="${CFLAGS} -mms-bitfields"
X    LDFLAGS="${LDFLAGS} -no-undefined -mwindows"
X    ;;
X
X  *)
X    platform=linux/other
X    AC_MSG_RESULT($platform)
X    ;;
esac
AC_SUBST(REGEX_LIBS)
X
AM_CONDITIONAL(PLATFORM_LINUX, test "x$platform" = "xlinux/other")
AM_CONDITIONAL(PLATFORM_OSX, test "x$platform" = "xdarwin")
AM_CONDITIONAL(PLATFORM_OSX_QUARTZ, test "x$platform" = "xdarwin/quartz")
AM_CONDITIONAL(PLATFORM_WIN32, test "x$platform" = "xwin32")
AM_CONDITIONAL(OS_WIN32, test "x$native_win32" = "xyes")
X
# These are unavailable on windows/mingw32 and X11 isn't desired or
# required for MacOSX Quartz
if test "x$_gdk_tgt" = xquartz; 
then 
X    AC_CHECK_HEADERS(glob.h)
else
X    AC_CHECK_HEADERS(X11/Xlib.h glob.h)
fi
AM_CONDITIONAL(HAVE_X11_XLIB_H, test "x$ac_cv_header_X11_Xlib_h" = "xyes")
AC_CHECK_FUNCS(chown gethostname getppid getuid gettimeofday gmtime_r)
AC_CHECK_FUNCS(gethostid link)
##################################################
X  
X
X
### --------------------------------------------------------------------------
### Guile version checks (should this be something other than the Gnome check?)
X
# If the user has given these values, cache them to override the
# detected values.
if test "x$GUILE_LIBS" != x; then
X  saved_GUILE_LIBS="$GUILE_LIBS"
fi
if test "x$GUILE_INCS" != x; then
X  saved_GUILE_INCS="$GUILE_INCS"
fi
GUILE_LIBS=""
GNOME_CHECK_GUILE
X
if test "x$saved_GUILE_LIBS" != x; then
X  GUILE_LIBS="$saved_GUILE_LIBS"
fi
if test "x$saved_GUILE_INCS" != x; then
X  GUILE_INCS="$saved_GUILE_INCS"
fi
X
AS_SCRUB_INCLUDE(GUILE_INCS)
AC_SUBST(GUILE_LIBS)
X
AM_GUILE_VERSION_CHECK(1.6.7, , , [AC_MSG_ERROR([
X
X  guile does not appear to be installed correctly, or is not in the
X  correct version range.  Perhaps you have not installed the guile
X  development packages?  Gnucash requires at least version 1.6.7 to build.
])])
X
AC_SUBST(GUILE)
AC_DEFINE_UNQUOTED(GNC_GUILE_MAJOR_VERSION, ${guile_major_version},
X    [Guile Major version number])
AC_DEFINE_UNQUOTED(GNC_GUILE_MINOR_VERSION, ${guile_minor_version},
X    [Guile Minor version number])
AC_DEFINE_UNQUOTED(GNC_GUILE_MICRO_VERSION, ${guile_micro_version},
X    [Guile Micro version number])
X
AM_GUILE_VERSION_CHECK(1.8.0, , [
X  AC_DEFINE(HAVE_GUILE18,1,[System has guile 1.8 or better])
], )
X
AS_SCRUB_INCLUDE(CFLAGS)
X
AC_MSG_CHECKING([for SLIB support])
if ${GUILE} -c "(use-modules (ice-9 slib)) (require 'printf)" > /dev/null 2>&1
then
X  AC_MSG_RESULT(yes)
else
X  AC_MSG_ERROR([
X
Cannot find SLIB.  Are you sure you have it installed?
See http://bugzilla.gnome.org/show_bug.cgi?id=347922
and http://bugzilla.gnome.org/show_bug.cgi?id=483631
X
])
fi
X
### Check size of long_long - some guile's are broken.
AC_MSG_CHECKING(if guile long_long is at least as big as gint64)
GNC_OLDCFLAGS="$CFLAGS"
GNC_OLDLDFLAGS="$LDFLAGS"
CFLAGS="${GNOME_CFLAGS} ${GUILE_INCS} ${CFLAGS} ${GLIB_CFLAGS}"
LDFLAGS="${LDFLAGS} ${GLIB_LIBS}"
AC_TRY_RUN([
X  #include <glib.h>
X  #include <libguile/__scm.h>
X  int main(int argc, char *argv[]) {
X    return(!(sizeof(long_long) >= sizeof(gint64)));
X  }
],[
X  AC_MSG_RESULT(yes)
X  AC_CHECK_LIB(guile, scm_long_long2num,
X    AC_DEFINE(GUILE_LONG_LONG_OK,1,is sizeof(long_long) >= sizeof(gint64)))
],[
X  AC_MSG_RESULT(no)
],[
X  AC_MSG_RESULT(assuming yes)
X  AC_CHECK_LIB(guile, scm_long_long2num,
X    AC_DEFINE(GUILE_LONG_LONG_OK,1,is sizeof(long_long) >= sizeof(gint64)))
])
CFLAGS="$GNC_OLDCFLAGS"
LDFLAGS="$GNC_OLDLDFLAGS"
X
# One of the places this is critical is in gnc_scm_to_gint64 and inverse.
# However, I'm sure we require this elsewhere, so don't remove this test
# unless you've done sufficient code review/testing.
AC_MSG_CHECKING(if unsigned long is at least as big as guint32)
GNC_OLDCFLAGS="$CFLAGS"
GNC_OLDLDFLAGS="$LDFLAGS"
CFLAGS="${GNOME_CFLAGS} ${GUILE_INCS} ${CFLAGS} ${GLIB_CFLAGS}"
LDFLAGS="${LDFLAGS} ${GLIB_LIBS}"
AC_TRY_RUN([
X  #include <glib.h>
X  int main(int argc, char *argv[]) {
X    return(!(sizeof(unsigned long) >= sizeof(guint32)));
X  }
],[
X  AC_MSG_RESULT(yes)
],[
X  AC_MSG_RESULT(no)
X  AC_MSG_ERROR(cannot continue, size of unsigned long too small.)
],[
X  AC_MSG_RESULT(assuming yes)
])
CFLAGS="$GNC_OLDCFLAGS"
LDFLAGS="$GNC_OLDLDFLAGS"
X
### --------------------------------------------------------------------------
### See if we need guile-www
X
gnc_have_guile_www=no
X
AC_MSG_CHECKING([if guile needs our copy of (guile www)])
GUILE_MODULE_AVAILABLE(gnc_have_guile_www,[(www main)])
X
AM_CONDITIONAL(GNC_HAVE_GUILE_WWW, test "${gnc_have_guile_www}" = yes)
X
### --------------------------------------------------------------------------
### look for gconf
X
PKG_CHECK_MODULES(GCONF, gconf-2.0 >= "2.0")
# Look up gconftool-2
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AC_SUBST(GCONFTOOL)
AC_SUBST(GCONF_CFLAGS)
AC_SUBST(GCONF_LIBS)
X
### --------------------------------------------------------------------------
### LIBXML -- GNOME_XML_LIB is defined by GNOME_XML_CHECK
X
LIBXML2_REQUIRED=2.5.10
PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= $LIBXML2_REQUIRED)
LIBXML_VERSION=`$PKG_CONFIG --version xml`
AS_SCRUB_INCLUDE(LIBXML2_CFLAGS)
AC_SUBST(LIBXML2_CFLAGS)
AC_SUBST(LIBXML2_LIBS)
AC_SUBST(LIBXML_VERSION)
X
oLIBS="$LIBS"
LIBS="$LIBS $LIBXML2_LIBS"
X
# Compile a test program to verify that the xml2 library works.
AC_CHECK_LIB(xml2, xmlElemDump, [:], [
X  AC_MSG_ERROR([libxml2 is required for GnuCash])
X  ])
LIBS="$oLIBS"
X
### --------------------------------------------------------------------------
### Zlib
X
ZLIB_LIBS=-lz
AC_SUBST(ZLIB_LIBS)
X
oLIBS="$LIBS"
LIBS="$LIBS $ZLIB_LIBS"
AC_CHECK_LIB(z, gzopen, [:], [
X  AC_MSG_ERROR([zlib is required for GnuCash])
])
LIBS="$oLIBS"
X
### --------------------------------------------------------------------------
### QOF, the Query Object Framework.  Check if there is a native version.
X
dnl XXX: FIXME: RELEASE HACK
dnl This makes sure that we default to using internal QOF for SVN.
dnl Make sure to enable this to be the default for stable releases!
X
AC_ARG_ENABLE(qof,
X  [AS_HELP_STRING([--enable-qof],[enable the search for an external QOF library (disabled)])],
X  [AC_MSG_ERROR([GnuCash has disabled use of external QOF.])
X   case "${enableval}" in
X     yes) gnc_enable_qof=true ;;
X     no)  gnc_enable_qof=false ;;
X     *) AC_MSG_ERROR(bad value ${enableval} for --enable-qof) ;;
X   esac],
X   [gnc_enable_qof=false])
X
AC_ARG_WITH(qof, [AS_HELP_STRING([--with-qof=path],[prefix for Query Object Framework - QOF (auto)])],
X    [gnc_with_qof=$withval], [gnc_with_qof=yes])
AC_ARG_WITH(qt3_wizard_package,
X                 [AS_HELP_STRING([--with-qt3-wizard-package=name],[name of package containing qt3-wizard (aqbanking)])],
X    [QT3_WIZARD_PACKAGE=$withval], [QT3_WIZARD_PACKAGE=aqbanking])
AC_DEFINE_UNQUOTED([QT3_WIZARD_PACKAGE],["$QT3_WIZARD_PACKAGE"],[Name of package containing qt3-wizard.])
X
# GnuCash builds without deprecated QOF code so needs latest version.
QOF_REQUIRED=0.6.4
# Can't use external qof until it supports "alternate dirty mode"
QOF_REQUIRED=99.99.99
if test "$gnc_enable_qof" = true ; then
X  AC_MSG_CHECKING([for QOF, version >= $QOF_REQUIRED])
X  if test "$gnc_with_qof" != "yes"; then
X    QOF=`$PKG_CONFIG --silence-errors --exists '$gnc_with_qof/lib/pkgconfig/qof-1.pc >= $QOF_REQUIRED'`
X    QOF_LIBS=`$PKG_CONFIG --silence-errors --libs $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X    QOF_CFLAGS=`$PKG_CONFIG --silence-errors --cflags $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X    QOF_VERSION=`$PKG_CONFIG --silence-errors --modversion $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X    QOF_PREFIX=`$PKG_CONFIG --silence-errors --variable=prefix $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X    QOF_LIB_DIR=`$PKG_CONFIG --silence-errors --variable=libdir $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X    QOF_XML_DIR=`$PKG_CONFIG --silence-errors --variable=xmldir $gnc_with_qof/lib/pkgconfig/qof-1.pc`
X  else
X    QOF=`$PKG_CONFIG --silence-errors --exists 'qof-1 >= $QOF_REQUIRED'`
X    QOF_LIBS=`$PKG_CONFIG --silence-errors --libs qof-1`
X    QOF_CFLAGS=`$PKG_CONFIG --silence-errors --cflags qof-1`
X    QOF_VERSION=`$PKG_CONFIG --silence-errors --modversion qof-1`
X    QOF_PREFIX=`$PKG_CONFIG --silence-errors --variable=prefix qof-1`
X    QOF_LIB_DIR=`$PKG_CONFIG --silence-errors --variable=libdir qof-1`
X    QOF_XML_DIR=`$PKG_CONFIG --silence-errors --variable=xmldir qof-1`
X  fi
X  if test x$QOF_XML_DIR = x; then
X    AC_MSG_RESULT([no, will use internal QOF code])
X  else
X    AC_MSG_RESULT([yes])
X  fi
else
X  AC_MSG_NOTICE([External QOF Disabled.  Using Internal QOF Code.])
fi
if test x$QOF_XML_DIR = x; then
X  QOF_LIB_DIR='${pkglibdir}'
X  QOF_CFLAGS='-I${top_builddir}/src/libqof/qof -I${top_srcdir}/src/libqof/qof'
X  QOF_LIBS='${top_builddir}/src/libqof/qof/libgnc-qof.la'
X  QOF_VERSION="internal"
X  QOF_PREFIX="internal"
X  LIBQOF_LIBRARY_VERSION=1:4:0
X  AC_SUBST(LIBQOF_LIBRARY_VERSION)
X  AC_DEFINE(HAVE_LIBQOF,,[We will use the internal QOF code])
X  HAVE_LIBQOF="use_internal"
fi
AM_CONDITIONAL(USE_LIBQOF, [test x$HAVE_LIBQOF != x])
AM_CONDITIONAL(USE_LIBQOF, [test "$HAVE_LIBQOF" = "use_internal"])
AC_SUBST(USE_LIBQOF)
AC_SUBST(QOF_CFLAGS)
AC_SUBST(QOF_LIBS)
AS_SCRUB_INCLUDE(QOF_PREFIX)
AC_SUBST(QOF_PREFIX)
AC_SUBST(QOF_LIB_DIR)
X
AC_DEFINE(QOF_DISABLE_DEPRECATED,1, [Don't use deprecated qof functions])
X
### ----------------------
### LIBDBI
X
AC_ARG_ENABLE(dbi,
X  [AS_HELP_STRING([--disable-dbi],[don't build with the libdbi backend])],
X  [case "${enableval}" in
X     yes) want_dbi=true ;;
X     no)  want_dbi=false ;;
X     *) want_dbi=false ;;
X   esac],
X   [want_dbi=true])
if test x${want_dbi} = xtrue
then
X  AC_CHECK_HEADERS(dbi/dbi.h)
X  if test "x$ac_cv_header_dbi_dbi_h" != xno; then
X    AC_ARG_WITH( dbi-dbd-dir,
X      [AS_HELP_STRING([--with-dbi-dbd-dir=PATH],[specify location of libdbi drivers @<:@default=${libdir}/dbd@:>@])],
X      GNC_DBD_DIR="$with_dbi_dbd_dir",
X      GNC_DBD_DIR="")
X
X    LIBDBI_LIBS=-ldbi
X    DBI_DIR=dbi
X  else
X    AC_MSG_ERROR( Unable to find dbi/dbi.h )
X  fi
fi
AC_SUBST(LIBDBI_LIBS)
AC_SUBST(DBI_DIR)
AC_SUBST(GNC_DBD_DIR)
AM_CONDITIONAL(CUSTOM_GNC_DBD_DIR, [test x"$GNC_DBD_DIR" != "x"])
X
### --------------------------------------------------------------------------
### Variables
### Set up all the initial variable values...
GNC_CONFIGDIR='${sysconfdir}/gnucash'
GNC_DOC_INSTALL_DIR='${pkgdatadir}/doc'
GNC_INCLUDE_DIR='${includedir}/gnucash'
GNC_SCM_INSTALL_DIR='${pkgdatadir}/scm'
GNC_SHAREDIR='${pkgdatadir}'
GNC_LIBEXECDIR='${libexecdir}/gnucash'
X
GNC_ACCOUNTS_DIR='${GNC_SHAREDIR}/accounts'
GNC_CHECKS_DIR='${GNC_SHAREDIR}/checks'
GNC_GLADE_DIR='${GNC_SHAREDIR}/glade'
GNC_UI_DIR='${GNC_SHAREDIR}/ui'
GNC_PIXMAP_DIR='${GNC_SHAREDIR}/pixmaps'
X
AC_SUBST(GNC_ACCOUNTS_DIR)
AC_SUBST(GNC_CHECKS_DIR)
AC_SUBST(GNC_CONFIGDIR)
AC_SUBST(GNC_DOC_INSTALL_DIR)
AC_SUBST(GNC_GLADE_DIR)
AC_SUBST(GNC_UI_DIR)
AC_SUBST(GNC_INCLUDE_DIR)
AC_SUBST(GNC_PIXMAP_DIR)
AC_SUBST(GNC_SCM_INSTALL_DIR)
AC_SUBST(GNC_SHAREDIR)
AC_SUBST(GNC_LIBEXECDIR)
X
AC_ARG_ENABLE( debug,
X  [AS_HELP_STRING([--enable-debug],[compile with debugging flags set])],
X  [
X     # remove any optimization flags...
X     CFLAGS=`echo ${CFLAGS} | sed -e 's,-O.,,g'`
X     # ...except for those the user wants.
X     CFLAGS="${CFLAGS} -g ${USER_OPTIMIZATION}"
X     LDFLAGS="${LDFLAGS} -g"
X     AC_DEFINE(DEBUG_MEMORY,1,[Enable debug memory])
X     AC_DEFINE(DEBUG_MEMORY,0,[Enable debug memory])
X  ])
X
AC_ARG_ENABLE( profile,
X  [AS_HELP_STRING([--enable-profile],[compile with profiling set])],
X  CFLAGS="${CFLAGS} -pg"
X  LDFLAGS="${LDFLAGS} -pg")
X
AC_ARG_ENABLE( ref-counts-dumps,
X  [AS_HELP_STRING([--enable-ref-counts-dumps],[compile with ref count dumps])],
X  AC_DEFINE(DEBUG_REFERENCE_COUNTING,1,[Enable reference count dumps])
X  AC_DEFINE(DEBUG_REFERENCE_COUNTING,0,[Enable reference count dumps]) )
X
X
### --------------------------------------------------------------------------
### OFX
want_ofx=auto
AC_ARG_ENABLE( ofx,
X  [AS_HELP_STRING([--enable-ofx],[compile with ofx support (needs LibOFX)])],
X  [ case "$enableval" in
X    yes) want_ofx=yes ;;
X    no)  want_ofx=no ;;
X    esac[]dnl
X  ] )
AC_MSG_CHECKING(whether to use OFX)
case "${want_ofx}" in
X  yes)  AC_MSG_RESULT(yes -- failure is fatal) ;;
X  no)   AC_MSG_RESULT(no) ;;
X  auto) AC_MSG_RESULT(yes -- automatic test) ;;
esac
if test x${want_ofx} != xno ;
then
X  AC_ARG_WITH( ofx-prefix, 
X    [AS_HELP_STRING([--with-ofx-prefix=DIR],[specify where to look for libOFX])],
X    OFXPREFIX="$with_ofx_prefix" )
X
X  if test x${OFXPREFIX} != x ; then
X    LIBOFX_LIBS="-L${OFXPREFIX}/lib"
X    LIBOFX_CFLAGS="-I${OFXPREFIX}/include"
X  fi
X
X  if test "x${want_ofx}" != xno ; then
X    # Version number verified. Now check header files.
X    AC_MSG_CHECKING(for libofx/libofx.h)
X    AS_SCRUB_INCLUDE(LIBOFX_CFLAGS)
X    save_CPPFLAGS="${CPPFLAGS}"
X    CPPFLAGS="${CPPFLAGS} ${LIBOFX_CFLAGS}"
X    AC_TRY_CPP( [#include <libofx/libofx.h>], AC_MSG_RESULT(yes),
X                OFXfound=no )
X
X    if test x${OFXPREFIX} = x -a x${OFXfound} = no ; then
X      LIBOFX_LIBS="-L$/usr/local/lib"
X      LIBOFX_CFLAGS="-I$/usr/local/include"
X      AS_SCRUB_INCLUDE(LIBOFX_CFLAGS)
X      CPPFLAGS="${CPPFLAGS} ${LIBOFX_CFLAGS}"
X
X      AC_TRY_CPP( [#include <libofx/libofx.h>],
X        AC_MSG_RESULT([yes (in /usr/local)]),
X          [ if test "x${want_ofx}" = xyes ; then
X              AC_MSG_ERROR([cannot find libofx header, needed for OFX support.])
X            else
X              AC_MSG_RESULT([cannot find libofx header, needed for OFX support.])
X              want_ofx=no
X            fi
X          ] )
X    fi
X
X    if test "x${want_ofx}" != xno ; then 
X      LIBOFX_LIBS="${LIBOFX_LIBS} -lofx"
X      AC_MSG_CHECKING(for libofx)
X      save_LIBS="${LIBS}"
X      LIBS="${LIBS} ${LIBOFX_LIBS}"
X      AC_TRY_LINK( [#include <libofx/libofx.h>],
X        [ LibofxContextPtr libofx_context = libofx_get_new_context();
X          libofx_free_context(libofx_context);
X        ], AC_MSG_RESULT(yes),
X        [ if test "x${want_ofx}" = xyes ; then
X            AC_MSG_ERROR([*** Cannot compile test program for libofx library. Please check config.log for the exact error.])
X          else
X            AC_MSG_RESULT([*** Cannot compile test program for libofx library. Please check config.log for the exact error.])
X            want_ofx=no
X          fi
X        ] )
X
X      LIBS="${save_LIBS}"
X      CPPFLAGS="${save_CPPFLAGS}"
X      AC_SUBST(LIBOFX_CFLAGS)
X      AC_SUBST(LIBOFX_LIBS)
X    fi
X  fi
fi
if test "x${want_ofx}" != xno ; then
X  OFX_DIR=ofx
fi
AC_SUBST(OFX_DIR)
X
### --------------------------------------------------------------------------
### MT940
AC_ARG_ENABLE( mt940,
X  [AS_HELP_STRING([--enable-mt940],[obsolete, included in --enable-aqbanking])],
X  if test "x$enableval" != "xno" ; then
X    AC_MSG_ERROR([--enable-mt940 is obsolete -- all functionality is already included in --enable-aqbanking])
X  fi)
X
### --------------------------------------------------------------------------
### AqBanking
X
AC_ARG_ENABLE( aqbanking,
X  [AS_HELP_STRING([--enable-aqbanking],[compile with AqBanking support])],
X  if test "x$enableval" != "xno" ; then
X    want_aqbanking=yes
X  fi)
AC_ARG_ENABLE( hbci,
X  [AS_HELP_STRING([--enable-hbci],[an alias for --enable-aqbanking])],
X  if test "x$enableval" != "xno" ; then
X    want_aqbanking=yes
X  fi)
if test x${want_aqbanking} = xyes ;
then
X  # Check for Aqbanking library
X  # aqbanking-1.6.1 was released on 2005-11-04; aqbanking ships with
X  # a pkg-config file since 1.6.1.
X  PKG_CHECK_MODULES(AQBANKING, aqbanking >= 3.0.0 gwenhywfar, [AQBANKING_DIR=aqbanking], [
X    PKG_CHECK_MODULES(AQBANKING, aqbanking >= 1.6.1 aqbanking < 2.9.0 gwenhywfar, [AQBANKING_DIR=hbci], [
X      AC_MSG_ERROR([Could not find aqbanking > 1.6.0. If you use --enable-aqbanking or --enable-hbci, you *have* to have aqbanking installed!])
X    ])
X  ])
X  # For libgwenhywfar > 3.99.20, look for its library gwengui-gtk2.
X  PKG_CHECK_MODULES([GWENGUI_GTK2], [gwengui-gtk2 gwenhywfar], [has_gwengui_gtk2=1], [has_gwengui_gtk2=0])
X
X  # also check for ktoblzcheck
X  AC_CHECK_HEADERS(ktoblzcheck.h)
X  if test "x$ac_cv_header_ktoblzcheck_h" != xno; then
X    AQBANKING_LIBS="${AQBANKING_LIBS} -lktoblzcheck"
X  fi
X
X  AS_SCRUB_INCLUDE(AQBANKING_CFLAGS)
X  AC_SUBST(AQBANKING_LIBS)
X  AC_SUBST(AQBANKING_CFLAGS)
fi
AC_SUBST(AQBANKING_DIR)
X
### --------------------------------------------------------------------------
### i18n
X
# This variable is set by GLIB_WITH_NLS, called through
# AM_GLIB_GNU_GETTEXT above. Usually it is "share", but on some
# platforms it is "lib". Make sure it is set.
if test "x$DATADIRNAME" = "x"; then
X  DATADIRNAME="share"
X  AC_SUBST(DATADIRNAME)
fi
X
dnl check for nl_langinfo(D_FMT) which is missing on FreeBSD
LANGINFO_D_FMT_CHECK
X
dnl Enable locale-specific tax-related information in the accounts
AC_ARG_ENABLE( locale-specific-tax,
X  [AS_HELP_STRING([--enable-locale-specific-tax],[enable localized tax categories (experimental)])],
X  AC_DEFINE(LOCALE_SPECIFIC_TAX,1,Enable the experimental locale-specific tax categories) )
X
dnl Make sure we have a proper gettext installed
AC_MSG_CHECKING(for a valid gettext/gmsgfmt installation)
if test "$gt_cv_have_gettext" != "yes" || test "x$GMSGFMT" = "x"; then
X  AC_MSG_RESULT(no)
X  AC_MSG_ERROR([Cannot find Glib Gettext.  Maybe you need to install the gettext package?])
else
X  AC_MSG_RESULT(yes - $GMSGFMT)
fi
X
# -------------------------------------------------------------------------
# URLs for MySQL and PostgreSQL testing
AC_ARG_WITH(test-mysql-url,
X            AS_HELP_STRING([--with-test-mysql-url=URL],
X                           [MySQL database URL for testing [default=none]]),
X            [],[with_test_mysql_url=""])
X
TEST_MYSQL_URL=$with_test_mysql_url
AC_SUBST(TEST_MYSQL_URL)
X
AC_ARG_WITH(test-pgsql-url,
X            AS_HELP_STRING([--with-test-pgsql-url=URL],
X                           [PgSQL database URL for testing [default=none]]),
X            [],[with_test_pgsql_url=""])
X
TEST_PGSQL_URL=$with_test_pgsql_url
AC_SUBST(TEST_PGSQL_URL)
X
### --------------------------------------------------------------------------
### help files
X
# Used to initialize doc-path.
AC_ARG_WITH( help-prefix,
X  [AS_HELP_STRING([--with-help-prefix=PATH],[specify where to store the help files])],
X  GNC_HELPDIR="$with_help_prefix",
X  GNC_HELPDIR="\${datadir}")
AC_SUBST(GNC_HELPDIR)
X
### --------------------------------------------------------------------------
### Check for etags
X
AC_ARG_ENABLE( etags,
X  [AS_HELP_STRING([--enable-etags],[enable automatic create of TAGS file])],
X  if test x$enableval = xyes; then
X     USE_ETAGS=1
X  fi,
X  USE_ETAGS=0)
X
if test x${USE_ETAGS} = x1; then
X  AC_CHECK_PROG(GNC_ETAGS_FILE, etags, TAGS)
fi
X
AM_CONDITIONAL(GNC_ETAGS_FILE, test x${GNC_ETAGS_FILE} = xTAGS)
X
### --------------------------------------------------------------------------
### Check for ctags
X
AC_ARG_ENABLE( ctags,
X  [AS_HELP_STRING([--enable-ctags],[enable automatic create of tags file])],
X  if test x$enableval = xyes; then
X     USE_CTAGS=1
X  fi,
X  USE_CTAGS=0)
X
if test x${USE_CTAGS} = x1; then
X  AC_CHECK_PROG(GNC_CTAGS_FILE, ctags, tags)
fi
X
AM_CONDITIONAL(GNC_CTAGS_FILE, test x${GNC_CTAGS_FILE} = xtags)
X
### --------------------------------------------------------------------------
### Check for perl
X
# Check for perl, force version 5
AC_ARG_WITH(perl,
X  [AS_HELP_STRING([--with-perl=FILE],[which perl executable to use])],
X  PERL="${with_perl}")
X
# If the user didn't specify a perl, then go fetch.
if test x"$PERL" = x;
then
X  AC_PATH_PROG(PERL, perl)
fi
X
# Make sure Perl was found
if test x"$PERL" = x; then
X    AC_MSG_ERROR([Cannot find Perl. Try using the --with-perl flag.])
fi
X
# Make sure it's version 5 or later
if "$PERL" -e 'exit 1 if $] < 5.0'; then
X    :
else
X    AC_MSG_ERROR([Found ${PERL} reports version ]
X                 [`${PERL} -e 'print $]'`, need version 5.*])
fi
AC_SUBST(PERL)
X
### ----------------------------------------------------------------------------
### Check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
X
AC_DEFUN([BB_ENABLE_DOXYGEN],
X  [
X    AC_ARG_ENABLE(doxygen, [AS_HELP_STRING([--enable-doxygen],[enable documentation generation with doxygen (auto)])])
X    AC_ARG_ENABLE(dot, [AS_HELP_STRING([--enable-dot],[use 'dot' to generate graphs in doxygen (auto)])])
X    AC_ARG_ENABLE(html-docs, [AS_HELP_STRING([--enable-html-docs],[enable HTML generation with doxygen (yes)])], [], [ enable_html_docs=yes])              
X    AC_ARG_ENABLE(latex-docs, [AS_HELP_STRING([--enable-latex-docs],[enable LaTeX documentation generation with doxygen (no)])], [], [ enable_latex_docs=no])              
X    if test "x$enable_doxygen" = xno; then
X      enable_doc=no
X    else 
X      AC_PATH_PROG(DOXYGEN, doxygen, , $PATH)
X      if test x$DOXYGEN = x; then
X        if test "x$enable_doxygen" = xyes; then
X          AC_MSG_ERROR([could not find doxygen])
X        fi
X        enable_doc=no
X      else
X        enable_doc=yes
X        AC_PATH_PROG(DOT, dot, , $PATH)
X      fi
X    fi
X    AM_CONDITIONAL(DOC, test x$enable_doc = xyes)
X
X    if test x$DOT = x; then
X      if test "x$enable_dot" = xyes; then
X        AC_MSG_ERROR([could not find dot])
X      fi
X      enable_dot=no
X    else
X      enable_dot=yes
X    fi
X    AM_CONDITIONAL(ENABLE_DOXYGEN, test x$enable_doc = xtrue)
X    AC_SUBST(enable_dot)
X    AC_SUBST(enable_html_docs)
X    AC_SUBST(enable_latex_docs)
X  ])
X
# check for doxygen
BB_ENABLE_DOXYGEN
X
X
### --------------------------------------------------------------------------
### Libraries
LIBS="$LIBS -lm"
X
X
### --------------------------------------------------------------------------
### Whether or not to build the GTK GUI components.
### When disabled, we don't even need to check for them!
### --------------------------------------------------------------------------
X
AC_ARG_ENABLE(gui, 
X  [AS_HELP_STRING([--disable-gui],[build without the GNOME GUI components of Gnucash])],
X  [case "${enableval}" in
X     yes) gnc_build_gui=true ;;
X     no)  gnc_build_gui=false ;;
X     *) gnc_build_gui=true ;;
X   esac],
X   [gnc_build_gui=true])
X
AM_CONDITIONAL(GNUCASH_ENABLE_GUI, test x${gnc_build_gui} = xtrue)
X
### --------------------------------------------------------------------------
### GNOME gui components -- built by default, but not if --enable-gui=no
### or --disable-gui is passed to autogen 
### --------------------------------------------------------------------------
X
if test x${gnc_build_gui} = xtrue ;
then
X  if test x${enable_compile_warnings} = x ;
X  then
X    enable_compile_warnings="yes"
X  fi
X  GNOME_COMPILE_WARNINGS
X
X  PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.10)
X  AS_SCRUB_INCLUDE(GTK_CFLAGS)
X  AC_SUBST(GTK_CFLAGS)
X  AC_SUBST(GTK_LIBS)
X
X  AC_MSG_CHECKING([for untested GTK versions (gtk > 2.11.0)])
X  if $PKG_CONFIG 'gtk+-2.0 > 2.11.0'
X  then
X    AC_MSG_RESULT(yes)
X    HAVE_UNTESTED_GTK=yes
X  fi
X
X  AC_MSG_CHECKING([for GTK >= 2.12.0])
X  if $PKG_CONFIG 'gtk+-2.0 >= 2.12.0'
X  then
X    AC_MSG_RESULT(yes)
X    AC_DEFINE(HAVE_GTK_2_12,1,[System has gtk 2.12.0 or better])
X    HAVE_GTK_2_12=yes
X  fi
X
X  PKG_CHECK_MODULES(GNOME, libgnomeui-2.0 >= 2.4)
X  AS_SCRUB_INCLUDE(GNOME_CFLAGS)
X  AC_SUBST(GNOME_CFLAGS)
X  AC_SUBST(GNOME_LIBS)
X
X  AC_MSG_CHECKING([for untested GNOME versions (libgnome >= 2.19.0)])
X  if $PKG_CONFIG 'libgnome-2.0 >= 2.19.0'
X  then
X    AC_MSG_RESULT(yes)
X    HAVE_UNTESTED_GNOME=yes
X  else
X    AC_MSG_RESULT(no)
X  fi
X
X  PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0)
X  AS_SCRUB_INCLUDE(GDK_PIXBUF_CFLAGS)
X  AC_SUBST(GDK_PIXBUF_CFLAGS)
X  AC_SUBST(GDK_PIXBUF_LIBS)
X
X  PKG_CHECK_MODULES(GLADE, libglade-2.0 >= 2.4)
X  AS_SCRUB_INCLUDE(GLADE_CFLAGS)
X  AC_SUBST(GLADE_CFLAGS)
X  AC_SUBST(GLADE_LIBS)
X
X   # checks for goffice
X  PKG_CHECK_MODULES(GOFFICE, libgoffice-0.8 >= 0.7.0, [goffice=1], [
X    PKG_CHECK_MODULES(GOFFICE, libgoffice-0.6 >= 0.6.0, [goffice=1], [
X      PKG_CHECK_MODULES(GOFFICE, libgoffice-0.5 >= 0.5.1, [goffice=1], [AC_MSG_ERROR([Cannot find libgoffice.>= 0.5.1])])
X    ])
X  ])
X  AS_SCRUB_INCLUDE(GOFFICE_CFLAGS)
X  AC_SUBST(GOFFICE_CFLAGS)
X  AC_SUBST(GOFFICE_LIBS)
X
X  ### --------------------------------------------------------------------------
X  ### determine the HTML engine
X
X  AC_MSG_CHECKING([the html engine])
X  AC_ARG_WITH(html_engine,
X              AS_HELP_STRING([--with-html-engine=@<:@webkit/gtkhtml@:>@],
X                             [Select HTML engine [default=gtkhtml]]),
X              [],[with_html_engine="gtkhtml"])
X
X  AC_MSG_RESULT([$with_html_engine])
X
X  case "$with_html_engine" in
X
X    gtkhtml)
X      # check for gtkhtml >= 3.14 with gtkprint support
X      gtkhtml=0
X      PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.14, [
X        # check for gtkhtml >= 3.16 (includes gtk_html_print_operation_run())
X        AC_MSG_CHECKING(for GtkHTML - version >= 3.16.0)
X        if $PKG_CONFIG 'libgtkhtml-3.14 >= 3.16.0'; then
X          AC_MSG_RESULT(yes)
X          AC_DEFINE(HAVE_GTKHTML_3_16,1,[System has gtkhtml 3.16.0 or better])
X          HAVE_GTKHTML_3_16=1
X        else
X          AC_MSG_RESULT(no)
X        fi
X      ], [
X        AC_MSG_ERROR([cannot find GtkHTML >= 3.14])
X      ])
X      ;;
X
X    webkit)
X      PKG_CHECK_MODULES(WEBKIT, webkit-1.0 >= "1.0")
X      AC_DEFINE(WANT_WEBKIT,1,[Use webkit instead of gtkhtml])
X      case "$platform" in
X        win32)
X          # 1.1.90 has both functions
X          AC_DEFINE(HAVE_WEBKIT_WEB_VIEW_LOAD_URI,1,[webkit_web_view_load_uri exists])
X          AC_DEFINE(HAVE_WEBKIT_WEB_FRAME_PRINT_FULL,1,[webkit_web_frame_print_full exists])
X          ;;
X        *)
X          # Unsure - check functions exist
X          oLIBS="$LIBS"
X          LIBS="$LIBS -lwebkit-1.0"
X          AC_CHECK_FUNCS(webkit_web_view_load_uri)
X          LIBS="$oLIBS"
X          AC_MSG_CHECKING(for webkit_web_frame_print_full)
X          saved_CFLAGS="${CFLAGS}"
X          saved_LIBS="${LIBS}"
X          CFLAGS="${CFLAGS} ${WEBKIT_CFLAGS}"
X          LIBS="${LIBS} ${WEBKIT_LIBS}"
X          AC_LINK_IFELSE(
X              [AC_LANG_PROGRAM(
X                  [[#include <webkit/webkit.h>]],
X                  [[webkit_web_frame_print_full( 0, 0, 0, 0 );]])],
X                  [AC_MSG_RESULT(yes)
X                   AC_DEFINE(HAVE_WEBKIT_WEB_FRAME_PRINT_FULL,1,[webkit_web_frame_print_full exists])],
X                  [AC_MSG_RESULT(no)])
X          CFLAGS="${saved_CFLAGS}"
X          LIBS="${saved_LIBS}"
X          ;;
X        esac
X        ;;
X
X    *) AC_MSG_ERROR([Invalid HTML engine: must be gtkhtml or webkit]) ;;
X  esac
X
X  AM_CONDITIONAL(HTML_USING_WEBKIT, [test x${with_html_engine} = xwebkit])
X  AC_SUBST(WEBKIT_CFLAGS)
X  AC_SUBST(WEBKIT_LIBS)
X  AS_SCRUB_INCLUDE(GTKHTML_CFLAGS)
X
X  dnl if Mac OSX, also scrub /sw/include
X  dnl GIVEN_CFLAGS=$(echo $GIVEN_CFLAGS | sed -e "s;-I/sw/include ;;" | sed -e "s;-I/sw/include$;;")
X
X  case $host_os in
X    darwin*)
X      GTKHTML_CFLAGS=`echo $GTKHTML_CFLAGS | ${SED} -e "s;-I/sw/include ;;" | ${SED} -e "s;-I/sw/include$;;"`
X      GTKHTML_CFLAGS=`echo $GTKHTML_CFLAGS | ${SED} -e "s;-I/sw/include/gtkhtml ;;" | ${SED} -e "s;-I/sw/includ/gtkhtmle$;;"`
X      ;;
X  esac
X  AC_SUBST(GTKHTML_CFLAGS)
X  AC_SUBST(GTKHTML_LIBS)
X
X  ###-----------------------------------------------------------------------
X  ## Find a suitable password store
X
X  case $host_os in
X    darwin*)
X      AC_DEFINE(HAVE_OSX_KEYCHAIN,1,[System has an OS X Key chain])
X      ;;
X    *)
X      PKG_CHECK_MODULES(GNOME_KEYRING, gnome-keyring-1 >= "0.6",
X          [AC_DEFINE(HAVE_GNOME_KEYRING,1,[System has gnome-keyring 0.6 or better])],
X          [AC_DEFINE(HAVE_NO_KEYRING,1,[System has no suitable keyring service])])
X  esac
X
X  ### ----------------------------------------------------------------------
X    
X  AC_ARG_ENABLE( efence,
X    [AS_HELP_STRING([--enable-efence],[link using efence])],
X    if test x$enableval = xyes; then
X      EFENCE_LIBS="-lefence"
X      USE_EFENCE=1
X      AC_DEFINE(USE_EFENCE,,We are using EFence)
X    fi,
X    USE_EFENCE=0
X    EFENCE_LIBS="")
X  AC_SUBST(EFENCE_LIBS)
X
X  ### ----------------------------------------------------------------------
X  ## For now, we just presume you're using the GNOME version.  The other
X  ## UI's haven't been carried over during the automake transition.  At
X  ## some point, if it's deemed worthwhile, they can be resurrected...
X    
X  GNOME=1
X  AC_DEFINE(GNOME,,using GNOME)
X
else
X  # GNOME_COMPILE_WARNINGS will add -Wall; no need to set it again.
X  # also, only add it for GCC.
X  if test ${GCC}x = yesx
X  then
X    # We should always see these errors...
X    CFLAGS="${CFLAGS} -Wall"
X  fi
X
fi
### End of gui-only checks
X
###-------------------------------------------------------------------------
### Selectively disable deprecated bits of glib/gdk/gtk/gnome
###-------------------------------------------------------------------------
if test x${HAVE_UNTESTED_GLIB} = "xyes"
then
X  allow_deprecated=true
else
X  allow_deprecated=false
fi
AC_ARG_ENABLE(deprecated-glib,
X  [AS_HELP_STRING([--disable-deprecated-glib],[don't use deprecated glib functions])],
X  [case "${enableval}" in
X     no) allow_deprecated=false ;;
X     *)  allow_deprecated=true ;;
X   esac]
X  )
if test x${allow_deprecated} != "xtrue"
then
X  AC_DEFINE(G_DISABLE_DEPRECATED,1, [Don't use deprecated glib functions])
fi
X
X
if test x${HAVE_UNTESTED_GTK} = "xyes"
then
X  allow_deprecated=true
else
X  allow_deprecated=false
fi
AC_ARG_ENABLE(deprecated-gtk,
X  [AS_HELP_STRING([--disable-deprecated-gtk],[don't use deprecated gtk, gdk or gdk-pixbuf functions])],
X  [case "${enableval}" in
X     no) allow_deprecated=false ;;
X     *)  allow_deprecated=true ;;
X   esac]
X  )
if test x${allow_deprecated} != "xtrue"
then
X  AC_DEFINE(GTK_DISABLE_DEPRECATED,1, [Don't use deprecated gtk functions])
X  AC_DEFINE(GDK_DISABLE_DEPRECATED,1, [Don't use deprecated gdk functions])
X  AC_DEFINE(GDK_PIXBUF_DISABLE_DEPRECATED,1, [Don't use deprecated gdk-pixbuf functions])
fi
X
X
if test x${HAVE_UNTESTED_GNOME} = "xyes"
then
X  allow_deprecated=true
else
X  allow_deprecated=false
fi
AC_ARG_ENABLE(deprecated-gnome,
X  [AS_HELP_STRING([--disable-deprecated-gnome],[don't use deprecated gnome functions])],
X  [case "${enableval}" in
X     no) allow_deprecated=false ;;
X     *)  allow_deprecated=true ;;
X   esac]
X  )
if test x${allow_deprecated} != "xtrue"
then
X  AC_DEFINE(GNOME_DISABLE_DEPRECATED,1, [Don't use deprecated gnome functions])
fi
X
###-------------------------------------------------------------------------
### Stuff from Mac OS X Port
###-------------------------------------------------------------------------
X
AC_CHECK_FUNCS(pthread_mutex_init)
case $host_os in
X  darwin*)
X    AC_REPLACE_FUNCS(localtime_r gmtime_r)
X    AC_LIBOBJ(strptime)
X    ;;
X  *)
X    AC_REPLACE_FUNCS(strptime localtime_r gmtime_r)
X    ;;
esac
X
#AC_REPLACE_FUNCS(scm_strptime)
X
if test x$am_cv_val_LC_MESSAGES = "xno"; then
X  LC_MESSAGES_ENUM="LC_ALL"
else
X  LC_MESSAGES_ENUM="LC_MESSAGES"
fi
AC_SUBST(LC_MESSAGES_ENUM)
X
###--------------------------------------------------------
### Make Python bindings optional
###--------------------------------------------------------
enable_python=false
X
AC_ARG_ENABLE(python-bindings,
X  [AS_HELP_STRING([--enable-python-bindings],[enable python bindings])],
X  [case "${enableval}" in
X     yes) enable_python=true ;;
X     no) enable_python=false ;;
X     *) enable_python=true ;;
X   esac]
X  )
if test x${enable_python} = "xtrue"
then
X  PYTHON_DIR=python-bindings
X  AM_PATH_PYTHON(2.4)
X  AC_PYTHON_DEVEL(>= '2.4')
X  SWIG_PYTHON
fi
AC_SUBST(PYTHON_DIR)
X
###-------------------------------------------------------------------------
### Additional compiler warnings (or not) if we're running GCC
###-------------------------------------------------------------------------
X
# This has to come after AC_PROG_CC _AND_ GNOME_COMPILE_WARNINGS
AC_MSG_CHECKING(what extra warning flags to pass to the C compiler)
if test ${GCC}x = yesx
then
X  warnFLAGS=
X  CFLAGS="${CFLAGS} -Wno-unused"
X  # other flags...
X  # These next two are included in the GNOME_COMPILE_WARNINGS
X  #warnFLAGS="${warnFLAGS} -Wmissing-prototypes"
X  #warnFLAGS="${warnFLAGS} -Wmissing-declarations"
X  #warnFLAGS="${warnFLAGS} -Werror-implicit-function-declaration" # In -Wall
X
X  # error-on-warning should not be active in (stable) release tarballs
X  if test "x$BUILDING_FROM_SVN" = "xyes"
X  then
X    # This code is from SVN/SVK, so enable error-on-warning
X    error_on_warning_as_default="yes"
X  else
X    # This is from a tarball, so disable error-on-warning
X    error_on_warning_as_default="no"
X  fi
X
X  # Enable error-on-warning by default -- I'm tired of fixing other
X  # people's missing #includes, etc.
X  AC_ARG_ENABLE(error-on-warning,
X    [AS_HELP_STRING([--disable-error-on-warning],[disable treating compile warnings as errors])],
X    [case "${enableval}" in
X       yes) warnFLAGS="${warnFLAGS} -Werror" ; gnc_error_on_warning=yes ;;
X       no)  gnc_error_on_warning=no ;;
X       *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
X     esac],
X    [ if test "${error_on_warning_as_default}" = "yes"; then
X        warnFLAGS="${warnFLAGS} -Werror"; 
X        gnc_error_on_warning=auto
X      else
X        gnc_error_on_warning=no
X      fi
X    ])
X
X  # For gcc >= 3.4.x, specifically enable the new warning switch
X  # -Wdeclaration-after-statement in order to preserve source code
X  # compatibility to gcc 2.95 and other compilers.
X  GCC_VERSION=`${CC} -dumpversion`
X  if test "`echo ${GCC_VERSION} | cut -d. -f1`" -ge 3; then
X    # This is gcc >= 3.x.x
X    if test "`echo ${GCC_VERSION} | cut -d. -f2`" -ge 4; then
X      # This is gcc >= 3.4.x
X      warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
X    else if test "`echo ${GCC_VERSION} | cut -d. -f1`" -ge 4; then
X           # This is gcc == 4.x.x
X           warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement -Wno-pointer-sign"
X           # rpmbuild on FC4 forces this flag. Can't hurt to always compile with it.
X           warnFLAGS="${warnFLAGS} -D_FORTIFY_SOURCE=2"
X         fi
X    fi
X  fi
X  CFLAGS="${warnFLAGS} ${CFLAGS}"
else
X  warnFLAGS=none
fi
AC_MSG_RESULT($warnFLAGS)
X
### --------------------------------------------------------------------------
### Adjustments -- especially executables that aren't generated via
### makefiles, so that we don't have an opportunity to adjust them
### there.
X
chmod u+x ${srcdir}/src/gnc-test-env
chmod u+x ${srcdir}/src/bin/generate-gnc-script
chmod u+x ${srcdir}/src/bin/overrides/gnucash-make-guids
X
### --------------------------------------------------------------------------
### Makefile creation
X
# This is necessary so that .o files in LIBOBJS are also built via
# the ANSI2KNR-filtering rules.
LIBOBJS_SEDSCRIPT="s,\.[[^.]]* ,$U&,g;s,\.[[^.]]*\$\$,$U&,"
AC_SUBST(LIBOBJS_SEDSCRIPT)
X
AC_CONFIG_FILES(
X  po/Makefile.in
X  dnl # Makefiles
X  Makefile
X  accounts/Makefile
X  accounts/C/Makefile
X  accounts/cs/Makefile
X  accounts/da/Makefile
X  accounts/de_AT/Makefile
X  accounts/de_CH/Makefile
X  accounts/de_DE/Makefile
X  accounts/el_GR/Makefile
X  accounts/en_GB/Makefile
X  accounts/es_ES/Makefile
X  accounts/es_MX/Makefile
X  accounts/fi_FI/Makefile
X  accounts/fr_CA/Makefile
X  accounts/fr_CH/Makefile
X  accounts/fr_FR/Makefile
X  accounts/hu_HU/Makefile
X  accounts/it/Makefile
X  accounts/ja/Makefile
X  accounts/ko/Makefile
X  accounts/lv/Makefile
X  accounts/nl/Makefile
X  accounts/nb/Makefile
X  accounts/pl/Makefile
X  accounts/pt_BR/Makefile
X  accounts/pt_PT/Makefile
X  accounts/ru/Makefile
X  accounts/sk/Makefile
X  accounts/tr_TR/Makefile
X  accounts/zh_CN/Makefile
X  checks/Makefile
X  doc/Makefile
X  doc/examples/Makefile
X  intl-scm/Makefile
X  lib/Makefile
X  lib/guile-www/Makefile
X  lib/libc/Makefile
X  lib/stf/Makefile
X  packaging/Makefile
X  packaging/win32/Makefile
X  packaging/win32/gnucash.iss
X  src/Makefile
X  src/app-utils/Makefile
X  src/app-utils/test/Makefile
X  src/backend/Makefile
X  src/backend/dbi/Makefile
X  src/backend/dbi/test/Makefile
X  src/backend/xml/Makefile
X  src/backend/xml/test/Makefile
X  src/backend/xml/test/test-files/Makefile
X  src/backend/xml/test/test-files/xml2/Makefile
X  src/backend/sql/Makefile
X  src/backend/sql/test/Makefile
X  src/bin/Makefile
X  src/bin/overrides/Makefile
X  src/bin/test/Makefile
X  src/core-utils/Makefile
X  src/core-utils/test/Makefile
X  src/calculation/Makefile 
X  src/calculation/test/Makefile
X  src/debug/Makefile
X  src/debug/valgrind/Makefile 
X  src/doc/Makefile
X  src/doc/design/Makefile
X  src/doc/xml/Makefile
X  src/engine/Makefile
X  src/engine/test/Makefile
X  src/engine/test-core/Makefile
X  src/gnc-module/Makefile
X  src/gnc-module/test/Makefile
X  src/gnc-module/test/mod-foo/Makefile
X  src/gnc-module/test/mod-bar/Makefile
X  src/gnc-module/test/mod-baz/Makefile
X  src/gnc-module/test/misc-mods/Makefile
X  src/gnome/Makefile
X  src/gnome/gnucash.desktop.in
X  src/gnome/glade/Makefile
X  src/gnome/schemas/Makefile
X  src/gnome/ui/Makefile
X  src/gnome-utils/Makefile
X  src/gnome-utils/glade/Makefile
X  src/gnome-utils/schemas/Makefile
X  src/gnome-utils/test/Makefile
X  src/gnome-utils/ui/Makefile
X  src/gnome-search/Makefile
X  src/html/Makefile
X  src/import-export/Makefile
X  src/import-export/test/Makefile
X  src/import-export/qif-import/Makefile
X  src/import-export/qif/Makefile
X  src/import-export/qif/test/Makefile
X  src/import-export/qif-import/schemas/Makefile
X  src/import-export/qif-import/test/Makefile
X  src/import-export/qif-io-core/Makefile
X  src/import-export/qif-io-core/test/Makefile
X  src/import-export/schemas/Makefile
X  src/import-export/ofx/Makefile
X  src/import-export/ofx/test/Makefile
X  src/import-export/csv/Makefile
X  src/import-export/log-replay/Makefile
X  src/import-export/aqbanking/Makefile
X  src/import-export/aqbanking/schemas/Makefile
X  src/import-export/hbci/Makefile
X  src/import-export/hbci/glade/Makefile
X  src/import-export/hbci/schemas/Makefile
X  src/import-export/hbci/test/Makefile
X  src/libqof/Makefile
X  src/libqof/qof/Makefile
X  src/optional/Makefile
X  src/optional/python-bindings/Makefile
X  src/optional/python-bindings/tests/Makefile
X  src/pixmaps/Makefile
X  src/quotes/Makefile
X  src/register/Makefile
X  src/register/ledger-core/Makefile
X  src/register/ledger-core/test/Makefile
X  src/register/register-core/Makefile
X  src/register/register-core/test/Makefile
X  src/register/register-gnome/Makefile
X  src/register/register-gnome/test/Makefile
X  src/report/Makefile
X  src/report/report-gnome/Makefile
X  src/report/report-gnome/test/Makefile
X  src/report/report-system/Makefile
X  src/report/report-system/test/Makefile
X  src/report/standard-reports/Makefile
X  src/report/standard-reports/test/Makefile
X  src/report/business-reports/Makefile
X  src/report/locale-specific/Makefile
X  src/report/locale-specific/us/Makefile
X  src/report/locale-specific/us/test/Makefile
X  src/report/stylesheets/Makefile
X  src/report/stylesheets/test/Makefile
X  src/report/utility-reports/Makefile
X  src/report/utility-reports/test/Makefile
X  src/scm/Makefile
X  src/scm/gnumeric/Makefile
X  src/tax/Makefile
X  src/tax/us/Makefile
X  src/tax/us/test/Makefile
X  src/test-core/Makefile
X  src/business/Makefile
X  src/business/business-core/Makefile
X  src/business/business-core/test/Makefile
X  src/business/business-utils/Makefile
X  src/business/dialog-tax-table/Makefile
X  src/business/business-gnome/Makefile
X  src/business/business-gnome/glade/Makefile
X  src/business/business-gnome/schemas/Makefile
X  src/business/business-gnome/ui/Makefile
X  src/business/business-ledger/Makefile
X
X  dnl # non-makefiles
X  dnl # Please read doc/build-system before adding *anything* here
X
X  ,
X  dnl # commands go here, but we don't have any right now
)
AC_OUTPUT
X
if test x${DBI_DIR} != x; then
X  components="$components dbi"
fi
if test x${OFX_DIR} != x; then
X  components="$components ofx"
fi
if test x${AQBANKING_DIR} != x; then
X  components="$components $AQBANKING_DIR"
fi
if test x${PYTHON_DIR} != x; then
X  components="$components python-bindings"
fi
X
AC_MSG_RESULT([
X  Options detected/selected
X  -------------------------
X  gnucash version ...... : $VERSION
X  Build for host ....... : $host
X  Optional components... : $components
X  HTML engine .......... : $with_html_engine
X  Extra Warnings ....... : $warnFLAGS
X  CPPFLAGS ............. : $CPPFLAGS
X  CFLAGS ............... : $CFLAGS
X  LDFLAGS .............. : $LDFLAGS
X  prefix................ : ${prefix}
X
X
])
SHAR_EOF
  (set 20 12 02 09 20 49 08 'gnucash/configure.ac'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/configure.ac'
if test $? -ne 0
then ${echo} "restore of gnucash/configure.ac failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/configure.ac': 'MD5 check failed'
       ) << \SHAR_EOF
f43bb63356ad074d2ee257843f965611  gnucash/configure.ac
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/configure.ac'` -ne 48764 && \
  ${echo} "restoration warning:  size of 'gnucash/configure.ac' is not 48764"
  fi
fi
# ============= gnucash/lib/guile-www/Makefile.am ==============
if test ! -d 'gnucash/lib'; then
  mkdir 'gnucash/lib'
if test $? -eq 0
then ${echo} "x - created directory gnucash/lib."
else ${echo} "x - failed to create directory gnucash/lib."
     exit 1
fi
fi
if test ! -d 'gnucash/lib/guile-www'; then
  mkdir 'gnucash/lib/guile-www'
if test $? -eq 0
then ${echo} "x - created directory gnucash/lib/guile-www."
else ${echo} "x - failed to create directory gnucash/lib/guile-www."
     exit 1
fi
fi
if test -f 'gnucash/lib/guile-www/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/lib/guile-www/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/lib/guile-www/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/lib/guile-www/Makefile.am' &&
X
if GNC_HAVE_GUILE_WWW
X
# Do nothing.
X
else # !GNC_HAVE_GUILE_WWW
X
gncscmdir = ${GNC_SHAREDIR}/guile-modules/www
gncscm_DATA = cgi.scm http.scm main.scm url.scm
X
noinst_DATA = .scm-links
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = ${gncscm_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf www
X	mkdir -p www
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd www; for A in $(gncscm_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf www
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
endif # GNC_HAVE_GUILE_WWW (else clause)
X
EXTRA_DIST = README README.gnucash wwwcat cgi.scm http.scm main.scm url.scm
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/lib/guile-www/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/lib/guile-www/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/lib/guile-www/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/lib/guile-www/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
2397c1a177a697c0daf4e40c0a07aeaf  gnucash/lib/guile-www/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/lib/guile-www/Makefile.am'` -ne 805 && \
  ${echo} "restoration warning:  size of 'gnucash/lib/guile-www/Makefile.am' is not 805"
  fi
fi
# ============= gnucash/lib/libc/Makefile.am ==============
if test ! -d 'gnucash/lib/libc'; then
  mkdir 'gnucash/lib/libc'
if test $? -eq 0
then ${echo} "x - created directory gnucash/lib/libc."
else ${echo} "x - failed to create directory gnucash/lib/libc."
     exit 1
fi
fi
if test -f 'gnucash/lib/libc/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/lib/libc/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/lib/libc/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/lib/libc/Makefile.am' &&
noinst_LTLIBRARIES = libc-missing.la
X
# All header files must be listed.
noinst_HEADERS = \
X  gmtime_r.h \
X  localtime_r.h \
X  setenv.h \
X  strptime.h \
X  pow.h
X
# No sources should be listed.
libc_missing_la_SOURCES = libc-missing-noop.c
X
EXTRA_libc_missing_la_SOURCES = \
X  gmtime_r.c \
X  localtime_r.c \
X  setenv.c \
X  strptime.c
X
# This will automatically be filled in with the necessary object file
# names.  Configure does this based upon the AC_REPLACE_FUNCS macros.
LIBOBJS = @LIBOBJS@
LTLIBOBJS = $(shell echo "$(LIBOBJS)" | sed '@LIBOBJS_SEDSCRIPT@' | \
X	sed 's,\.[^.]* ,.lo ,g;s,\.[^.]*$$,.lo,')
X
libc_missing_la_LIBADD = $(LTLIBOBJS)
X
if OS_WIN32
X  AM_CPPFLAGS = -DOS_WIN32
endif
X
# Not currently used.  If added to AC_REPLACE_FUNCS then this line
# should be removed.
EXTRA_DIST = scm_strptime.c
X
print_libobjs: Makefile
X	@echo "LIBOBJS = $(LIBOBJS)"
X	@echo "LTLIBOBJS = $(LTLIBOBJS)"
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/lib/libc/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/lib/libc/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/lib/libc/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/lib/libc/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
350d4aa9e296b66e18794e3f9ea0ea36  gnucash/lib/libc/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/lib/libc/Makefile.am'` -ne 898 && \
  ${echo} "restoration warning:  size of 'gnucash/lib/libc/Makefile.am' is not 898"
  fi
fi
# ============= gnucash/lib/stf/Makefile.am ==============
if test ! -d 'gnucash/lib/stf'; then
  mkdir 'gnucash/lib/stf'
if test $? -eq 0
then ${echo} "x - created directory gnucash/lib/stf."
else ${echo} "x - failed to create directory gnucash/lib/stf."
     exit 1
fi
fi
if test -f 'gnucash/lib/stf/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/lib/stf/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/lib/stf/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/lib/stf/Makefile.am' &&
noinst_LTLIBRARIES = libgnc-stf.la
X
REALSRCS = stf-parse.c
REALHDRS = stf-parse.h
X
libgnc_stf_la_SOURCES = ${REALSRCS}
noinst_HEADERS = ${REALHDRS}
X
libgnc_stf_la_LIBADD = $(GOFFICE_LIBS)
X
AM_CPPFLAGS = $(GOFFICE_CFLAGS)
X
EXTRA_DIST = $(REALSRCS) $(REALHDRS)
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/lib/stf/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/lib/stf/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/lib/stf/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/lib/stf/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5ea2ceb49b69e95c894b8798ee0f6daa  gnucash/lib/stf/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/lib/stf/Makefile.am'` -ne 259 && \
  ${echo} "restoration warning:  size of 'gnucash/lib/stf/Makefile.am' is not 259"
  fi
fi
# ============= gnucash/lib/Makefile.am ==============
if test -f 'gnucash/lib/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/lib/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/lib/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/lib/Makefile.am' &&
SUBDIRS = libc guile-www stf
DIST_SUBDIRS = libc guile-www stf
X
EXTRA_DIST = README
X
SHAR_EOF
  (set 20 10 04 11 02 22 19 'gnucash/lib/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/lib/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/lib/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/lib/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b4847c2a6c690b10e8c6b94fa4c7b844  gnucash/lib/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/lib/Makefile.am'` -ne 85 && \
  ${echo} "restoration warning:  size of 'gnucash/lib/Makefile.am' is not 85"
  fi
fi
# ============= gnucash/doc/examples/Makefile.am ==============
if test ! -d 'gnucash/doc'; then
  mkdir 'gnucash/doc'
if test $? -eq 0
then ${echo} "x - created directory gnucash/doc."
else ${echo} "x - failed to create directory gnucash/doc."
     exit 1
fi
fi
if test ! -d 'gnucash/doc/examples'; then
  mkdir 'gnucash/doc/examples'
if test $? -eq 0
then ${echo} "x - created directory gnucash/doc/examples."
else ${echo} "x - failed to create directory gnucash/doc/examples."
     exit 1
fi
fi
if test -f 'gnucash/doc/examples/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/doc/examples/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/doc/examples/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/doc/examples/Makefile.am' &&
X
docdir = ${GNC_DOC_INSTALL_DIR}/examples
X
doc_DATA = \
X  Money95bank_fr.qif  \
X  Money95invst_fr.qif \
X  Money95mfunds_fr.qif \
X  Money95stocks_fr.qif \
X  README \
X  abc-all.qif \
X  abc.qif \
X  bogus.qif \
X  cbb-export.qif \
X  currency_tree_xml.gnucash \
X  every.qif \
X  ms-money.qif \
X  quicktest.qif \
X  swipe.qif \
X  taxreport.gnucash \
X  web.qif
X
EXTRA_DIST = \
X  ${doc_DATA}
SHAR_EOF
  (set 20 10 10 24 16 34 11 'gnucash/doc/examples/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/doc/examples/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/doc/examples/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/doc/examples/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
dc3dad784ee63f90b4b5ec2e198aec25  gnucash/doc/examples/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/doc/examples/Makefile.am'` -ne 381 && \
  ${echo} "restoration warning:  size of 'gnucash/doc/examples/Makefile.am' is not 381"
  fi
fi
# ============= gnucash/doc/Makefile.am ==============
if test -f 'gnucash/doc/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/doc/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/doc/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/doc/Makefile.am' &&
SUBDIRS = examples
X
docdir = ${GNC_DOC_INSTALL_DIR}
doc_DATA = \
X  README.francais \
X  README.german \
X  README-de.win32-bin.txt \
X  README-fr.win32-bin.txt \
X  README-it.win32-bin.txt \
X  README-lv.win32-bin.txt \
X  README-nl.win32-bin.txt \
X  README-zh_CN.win32-bin.txt \
X  README.win32-bin.txt \
X  guile-hackers.txt \
X  projects.html 
X
man_MANS = \
X  gnc-prices.1 \
X  gnucash.1
X
tipsdir = $(GNC_SHAREDIR)
tips_DATA = tip_of_the_day.list
X
EXTRA_DIST = \
X  ${doc_DATA} \
X  misc-notes.txt \
X  README.build-system \
X  README.HBCI \
X  README.OFX \
X  README.translator.txt \
X  TRANSLATION_HOWTO \
X  build-aix.txt \
X  build-solaris.txt \
X  generic_objects.txt \
X  gnome-hackers.txt \
X  gnc-prices.1.in \
X  gnucash.1.in \
X  gtkrc-2.0.gnucash \
X  tip_of_the_day.list.in
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
gnc-prices.1: gnc-prices.1.in Makefile
X	rm -f $@.tmp
X	${SED} < $< > $@.tmp \
X            -e 's:@-VERSION-@:${VERSION}:g' \
X            -e 's:@-DATE-@:$(shell date +'%B %Y'):g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
gnucash.1: gnucash.1.in Makefile
X	rm -f $@.tmp
X	${SED} < $< > $@.tmp \
X            -e 's:@-VERSION-@:${VERSION}:g' \
X            -e 's:@-DATE-@:$(shell date +'%B %Y'):g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
tip_of_the_day.list: tip_of_the_day.list.in Makefile
X	${CC} -E -P -x c -D'N_(x)=x' -o $@.tmp $<
X	cat -s $@.tmp | ${SED} -e 's/^ *"//' \
X	                       -e 's/" *$$//' \
X	                       -e 's/"* *[|] */|/' \
X                           -e 's:@-GNUCASH_LATEST_STABLE_SERIES-@:${GNUCASH_LATEST_STABLE_SERIES}:g' > $@
X	rm -f $@.tmp
X
DISTCLEANFILES = gnc-prices.1 gnucash.1 tip_of_the_day.list
SHAR_EOF
  (set 20 10 06 19 21 09 43 'gnucash/doc/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/doc/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/doc/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/doc/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d2243ba5ac2516845da6e089d81f59ee  gnucash/doc/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/doc/Makefile.am'` -ne 1812 && \
  ${echo} "restoration warning:  size of 'gnucash/doc/Makefile.am' is not 1812"
  fi
fi
# ============= gnucash/accounts/pl/Makefile.am ==============
if test ! -d 'gnucash/accounts'; then
  mkdir 'gnucash/accounts'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts."
else ${echo} "x - failed to create directory gnucash/accounts."
     exit 1
fi
fi
if test ! -d 'gnucash/accounts/pl'; then
  mkdir 'gnucash/accounts/pl'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/pl."
else ${echo} "x - failed to create directory gnucash/accounts/pl."
     exit 1
fi
fi
if test -f 'gnucash/accounts/pl/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/pl/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/pl/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/pl/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/pl
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea 
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/pl/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/pl/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/pl/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/pl/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9bf1baef4064bf0384a426822d186b51  gnucash/accounts/pl/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/pl/Makefile.am'` -ne 670 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/pl/Makefile.am' is not 670"
  fi
fi
# ============= gnucash/accounts/es_ES/Makefile.am ==============
if test ! -d 'gnucash/accounts/es_ES'; then
  mkdir 'gnucash/accounts/es_ES'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/es_ES."
else ${echo} "x - failed to create directory gnucash/accounts/es_ES."
     exit 1
fi
fi
if test -f 'gnucash/accounts/es_ES/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/es_ES/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/es_ES/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/es_ES/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/es_ES
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
X
SHAR_EOF
  (set 20 10 03 26 15 09 49 'gnucash/accounts/es_ES/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/es_ES/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/es_ES/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/es_ES/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
c570556334cfa2b37aadd521436d9123  gnucash/accounts/es_ES/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/es_ES/Makefile.am'` -ne 607 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/es_ES/Makefile.am' is not 607"
  fi
fi
# ============= gnucash/accounts/ru/Makefile.am ==============
if test ! -d 'gnucash/accounts/ru'; then
  mkdir 'gnucash/accounts/ru'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/ru."
else ${echo} "x - failed to create directory gnucash/accounts/ru."
     exit 1
fi
fi
if test -f 'gnucash/accounts/ru/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/ru/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/ru/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/ru/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/ru
X
account_DATA = \
X  acctchrt_common.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_renter.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/ru/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/ru/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/ru/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/ru/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
fdea5c5c1d613664c0e52371ba55f65e  gnucash/accounts/ru/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/ru/Makefile.am'` -ne 218 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/ru/Makefile.am' is not 218"
  fi
fi
# ============= gnucash/accounts/es_MX/Makefile.am ==============
if test ! -d 'gnucash/accounts/es_MX'; then
  mkdir 'gnucash/accounts/es_MX'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/es_MX."
else ${echo} "x - failed to create directory gnucash/accounts/es_MX."
     exit 1
fi
fi
if test -f 'gnucash/accounts/es_MX/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/es_MX/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/es_MX/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/es_MX/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/es_MX
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
X
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/es_MX/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/es_MX/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/es_MX/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/es_MX/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9883b182c169ea2eaa205e34de747261  gnucash/accounts/es_MX/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/es_MX/Makefile.am'` -ne 607 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/es_MX/Makefile.am' is not 607"
  fi
fi
# ============= gnucash/accounts/fr_CA/Makefile.am ==============
if test ! -d 'gnucash/accounts/fr_CA'; then
  mkdir 'gnucash/accounts/fr_CA'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/fr_CA."
else ${echo} "x - failed to create directory gnucash/accounts/fr_CA."
     exit 1
fi
fi
if test -f 'gnucash/accounts/fr_CA/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/fr_CA/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/fr_CA/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/fr_CA/Makefile.am' &&
accountdir = ${GNC_ACCOUNTS_DIR}/fr_CA
X
account_DATA = \
X acctchrt_actifsfixes.gnucash-xea \
X acctchrt_automobile.gnucash-xea \
X acctchrt_basecommune.gnucash-xea \
X acctchrt_cdmarchemon.gnucash-xea \
X acctchrt_chequier.gnucash-xea \
X acctchrt_conjointretraite.gnucash-xea \
X acctchrt_conjointrev.gnucash-xea \
X acctchrt_courtage.gnucash-xea \
X acctchrt_etudeemprunt.gnucash-xea \
X acctchrt_garderie.gnucash-xea \
X acctchrt_locataire.gnucash-xea \
X acctchrt_proprietaire.gnucash-xea \
X acctchrt_retraite.gnucash-xea \
X acctchrt_revenus.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/fr_CA/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/fr_CA/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/fr_CA/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/fr_CA/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e24c9a8171dd2482e85e1a3d2891c24b  gnucash/accounts/fr_CA/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/fr_CA/Makefile.am'` -ne 581 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/fr_CA/Makefile.am' is not 581"
  fi
fi
# ============= gnucash/accounts/fr_FR/Makefile.am ==============
if test ! -d 'gnucash/accounts/fr_FR'; then
  mkdir 'gnucash/accounts/fr_FR'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/fr_FR."
else ${echo} "x - failed to create directory gnucash/accounts/fr_FR."
     exit 1
fi
fi
if test -f 'gnucash/accounts/fr_FR/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/fr_FR/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/fr_FR/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/fr_FR/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/fr_FR
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 49 'gnucash/accounts/fr_FR/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/fr_FR/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/fr_FR/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/fr_FR/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
36e7d3b27cfdf91b7c5d0989d08005c6  gnucash/accounts/fr_FR/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/fr_FR/Makefile.am'` -ne 640 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/fr_FR/Makefile.am' is not 640"
  fi
fi
# ============= gnucash/accounts/de_CH/Makefile.am ==============
if test ! -d 'gnucash/accounts/de_CH'; then
  mkdir 'gnucash/accounts/de_CH'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/de_CH."
else ${echo} "x - failed to create directory gnucash/accounts/de_CH."
     exit 1
fi
fi
if test -f 'gnucash/accounts/de_CH/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/de_CH/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/de_CH/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/de_CH/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/de_CH
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_kids.gnucash-xea \
X  acctchrt_otherasset.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_chkmu.gnucash-xea 
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/de_CH/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/de_CH/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/de_CH/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/de_CH/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
33a79968fb5ed4e5caf4af06b2eaa227  gnucash/accounts/de_CH/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/de_CH/Makefile.am'` -ne 290 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/de_CH/Makefile.am' is not 290"
  fi
fi
# ============= gnucash/accounts/it/Makefile.am ==============
if test ! -d 'gnucash/accounts/it'; then
  mkdir 'gnucash/accounts/it'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/it."
else ${echo} "x - failed to create directory gnucash/accounts/it."
     exit 1
fi
fi
if test -f 'gnucash/accounts/it/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/it/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/it/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/it/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/it
X
account_DATA = \
X acctchrt_brokerage.gnucash-xea \
X acctchrt_carloan.gnucash-xea \
X acctchrt_checkbook.gnucash-xea \
X acctchrt_childcare.gnucash-xea \
X acctchrt_common.gnucash-xea \
X acctchrt_fixedassets.gnucash-xea \
X acctchrt_homeloan.gnucash-xea \
X acctchrt_homeown.gnucash-xea \
X acctchrt_otherloan.gnucash-xea \
X acctchrt_renter.gnucash-xea \
X acctchrt_retiremt.gnucash-xea \
X acctchrt_spouseinc.gnucash-xea \
X acctchrt_spouseretire.gnucash-xea 
X
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/it/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/it/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/it/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/it/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
56cea0a3e3035e4cdb5b24dbdeae8cef  gnucash/accounts/it/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/it/Makefile.am'` -ne 524 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/it/Makefile.am' is not 524"
  fi
fi
# ============= gnucash/accounts/de_DE/Makefile.am ==============
if test ! -d 'gnucash/accounts/de_DE'; then
  mkdir 'gnucash/accounts/de_DE'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/de_DE."
else ${echo} "x - failed to create directory gnucash/accounts/de_DE."
     exit 1
fi
fi
if test -f 'gnucash/accounts/de_DE/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/de_DE/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/de_DE/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/de_DE/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/de_DE
X
account_DATA = \
X  acctchrt_auto.gnucash-xea \
X  acctchrt_autoloan.gnucash-xea \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_houseown.gnucash-xea \
X  acctchrt_investment.gnucash-xea \
X  acctchrt_kids.gnucash-xea \
X  acctchrt_otherasset.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_studium.gnucash-xea \
X  acctchrt_skr03.gnucash-xea \
X  acctchrt_wohnungsw.gnucash-xea \
X  acctchrt_skr04.gnucash-xea \
X  acctchrt_skr49.gnucash-xea
X
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/de_DE/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/de_DE/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/de_DE/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/de_DE/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
cdc30d6a9d5c6d916f0c922f9b9d7d30  gnucash/accounts/de_DE/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/de_DE/Makefile.am'` -ne 585 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/de_DE/Makefile.am' is not 585"
  fi
fi
# ============= gnucash/accounts/da/Makefile.am ==============
if test ! -d 'gnucash/accounts/da'; then
  mkdir 'gnucash/accounts/da'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/da."
else ${echo} "x - failed to create directory gnucash/accounts/da."
     exit 1
fi
fi
if test -f 'gnucash/accounts/da/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/da/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/da/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/da/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/da
X
account_DATA = \
X  acctchrt_car.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/da/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/da/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/da/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/da/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d9cf742201c2713712dbec21ff34177d  gnucash/accounts/da/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/da/Makefile.am'` -ne 215 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/da/Makefile.am' is not 215"
  fi
fi
# ============= gnucash/accounts/fr_CH/Makefile.am ==============
if test ! -d 'gnucash/accounts/fr_CH'; then
  mkdir 'gnucash/accounts/fr_CH'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/fr_CH."
else ${echo} "x - failed to create directory gnucash/accounts/fr_CH."
     exit 1
fi
fi
if test -f 'gnucash/accounts/fr_CH/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/fr_CH/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/fr_CH/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/fr_CH/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/fr_CH
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/fr_CH/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/fr_CH/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/fr_CH/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/fr_CH/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
3e87a3cbb515562d84116faa63f1fd7f  gnucash/accounts/fr_CH/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/fr_CH/Makefile.am'` -ne 640 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/fr_CH/Makefile.am' is not 640"
  fi
fi
# ============= gnucash/accounts/de_AT/Makefile.am ==============
if test ! -d 'gnucash/accounts/de_AT'; then
  mkdir 'gnucash/accounts/de_AT'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/de_AT."
else ${echo} "x - failed to create directory gnucash/accounts/de_AT."
     exit 1
fi
fi
if test -f 'gnucash/accounts/de_AT/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/de_AT/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/de_AT/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/de_AT/Makefile.am' &&
X
accountdir = $(GNC_ACCOUNTS_DIR)/de_AT
X
dist_account_DATA = \
X acctchrt_auto.gnucash-xea \
X acctchrt_autoloan.gnucash-xea \
X acctchrt_brokerage.gnucash-xea \
X acctchrt_business.gnucash-xea \
X acctchrt_common.gnucash-xea \
X acctchrt_houseown.gnucash-xea \
X acctchrt_investment.gnucash-xea \
X acctchrt_kids.gnucash-xea
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/de_AT/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/de_AT/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/de_AT/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/de_AT/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ffb4c19c413ef814801d5dbd924b9ea5  gnucash/accounts/de_AT/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/de_AT/Makefile.am'` -ne 318 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/de_AT/Makefile.am' is not 318"
  fi
fi
# ============= gnucash/accounts/sk/Makefile.am ==============
if test ! -d 'gnucash/accounts/sk'; then
  mkdir 'gnucash/accounts/sk'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/sk."
else ${echo} "x - failed to create directory gnucash/accounts/sk."
     exit 1
fi
fi
if test -f 'gnucash/accounts/sk/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/sk/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/sk/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/sk/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/sk
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 52 'gnucash/accounts/sk/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/sk/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/sk/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/sk/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9b0e8ac359220c944278df77de62b139  gnucash/accounts/sk/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/sk/Makefile.am'` -ne 603 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/sk/Makefile.am' is not 603"
  fi
fi
# ============= gnucash/accounts/pt_PT/Makefile.am ==============
if test ! -d 'gnucash/accounts/pt_PT'; then
  mkdir 'gnucash/accounts/pt_PT'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/pt_PT."
else ${echo} "x - failed to create directory gnucash/accounts/pt_PT."
     exit 1
fi
fi
if test -f 'gnucash/accounts/pt_PT/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/pt_PT/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/pt_PT/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/pt_PT/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/pt_PT
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/pt_PT/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/pt_PT/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/pt_PT/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/pt_PT/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5345956895470c72814aeacaf088863e  gnucash/accounts/pt_PT/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/pt_PT/Makefile.am'` -ne 572 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/pt_PT/Makefile.am' is not 572"
  fi
fi
# ============= gnucash/accounts/el_GR/Makefile.am ==============
if test ! -d 'gnucash/accounts/el_GR'; then
  mkdir 'gnucash/accounts/el_GR'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/el_GR."
else ${echo} "x - failed to create directory gnucash/accounts/el_GR."
     exit 1
fi
fi
if test -f 'gnucash/accounts/el_GR/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/el_GR/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/el_GR/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/el_GR/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/el_GR
X
account_DATA = \
X  acctchrt_common.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_brokerage.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/el_GR/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/el_GR/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/el_GR/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/el_GR/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b9906688e2c8a47a1ba211b47cd5b027  gnucash/accounts/el_GR/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/el_GR/Makefile.am'` -ne 190 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/el_GR/Makefile.am' is not 190"
  fi
fi
# ============= gnucash/accounts/hu_HU/Makefile.am ==============
if test ! -d 'gnucash/accounts/hu_HU'; then
  mkdir 'gnucash/accounts/hu_HU'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/hu_HU."
else ${echo} "x - failed to create directory gnucash/accounts/hu_HU."
     exit 1
fi
fi
if test -f 'gnucash/accounts/hu_HU/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/hu_HU/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/hu_HU/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/hu_HU/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/hu_HU
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/hu_HU/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/hu_HU/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/hu_HU/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/hu_HU/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
cb3a505bd4e7554374545410ef29f18a  gnucash/accounts/hu_HU/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/hu_HU/Makefile.am'` -ne 641 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/hu_HU/Makefile.am' is not 641"
  fi
fi
# ============= gnucash/accounts/lv/Makefile.am ==============
if test ! -d 'gnucash/accounts/lv'; then
  mkdir 'gnucash/accounts/lv'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/lv."
else ${echo} "x - failed to create directory gnucash/accounts/lv."
     exit 1
fi
fi
if test -f 'gnucash/accounts/lv/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/lv/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/lv/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/lv/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/lv
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 06 19 21 09 28 'gnucash/accounts/lv/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/lv/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/lv/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/lv/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f33b2806cbee96becaceb1ff46867b4d  gnucash/accounts/lv/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/lv/Makefile.am'` -ne 669 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/lv/Makefile.am' is not 669"
  fi
fi
# ============= gnucash/accounts/zh_CN/Makefile.am ==============
if test ! -d 'gnucash/accounts/zh_CN'; then
  mkdir 'gnucash/accounts/zh_CN'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/zh_CN."
else ${echo} "x - failed to create directory gnucash/accounts/zh_CN."
     exit 1
fi
fi
if test -f 'gnucash/accounts/zh_CN/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/zh_CN/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/zh_CN/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/zh_CN/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/zh_CN
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/zh_CN/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/zh_CN/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/zh_CN/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/zh_CN/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
441c26701906591fd00020fd548dc26a  gnucash/accounts/zh_CN/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/zh_CN/Makefile.am'` -ne 672 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/zh_CN/Makefile.am' is not 672"
  fi
fi
# ============= gnucash/accounts/Makefile.am ==============
if test -f 'gnucash/accounts/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/Makefile.am' &&
X
SUBDIRS = C cs da de_AT de_CH de_DE el_GR en_GB es_ES es_MX fi_FI fr_CH fr_CA fr_FR hu_HU it ja ko lv nl nb pl pt_BR pt_PT ru sk tr_TR zh_CN
X
SHAR_EOF
  (set 20 10 06 19 21 09 28 'gnucash/accounts/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
16727482cec7948d4896774dd3654e98  gnucash/accounts/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/Makefile.am'` -ne 143 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/Makefile.am' is not 143"
  fi
fi
# ============= gnucash/accounts/fi_FI/Makefile.am ==============
if test ! -d 'gnucash/accounts/fi_FI'; then
  mkdir 'gnucash/accounts/fi_FI'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/fi_FI."
else ${echo} "x - failed to create directory gnucash/accounts/fi_FI."
     exit 1
fi
fi
if test -f 'gnucash/accounts/fi_FI/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/fi_FI/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/fi_FI/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/fi_FI/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/fi_FI
X
account_DATA = \
X  acctchrt_common.gnucash-xea \
X  acctchrt_ry.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/fi_FI/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/fi_FI/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/fi_FI/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/fi_FI/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f5a006a04ef2d6100114049650d9187e  gnucash/accounts/fi_FI/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/fi_FI/Makefile.am'` -ne 150 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/fi_FI/Makefile.am' is not 150"
  fi
fi
# ============= gnucash/accounts/ja/Makefile.am ==============
if test ! -d 'gnucash/accounts/ja'; then
  mkdir 'gnucash/accounts/ja'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/ja."
else ${echo} "x - failed to create directory gnucash/accounts/ja."
     exit 1
fi
fi
if test -f 'gnucash/accounts/ja/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/ja/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/ja/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/ja/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/ja
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_full.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 04 20 23 22 24 'gnucash/accounts/ja/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/ja/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/ja/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/ja/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b75fa3129fe701bb941089bc8a41b261  gnucash/accounts/ja/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/ja/Makefile.am'` -ne 668 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/ja/Makefile.am' is not 668"
  fi
fi
# ============= gnucash/accounts/pt_BR/Makefile.am ==============
if test ! -d 'gnucash/accounts/pt_BR'; then
  mkdir 'gnucash/accounts/pt_BR'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/pt_BR."
else ${echo} "x - failed to create directory gnucash/accounts/pt_BR."
     exit 1
fi
fi
if test -f 'gnucash/accounts/pt_BR/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/pt_BR/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/pt_BR/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/pt_BR/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/pt_BR
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/pt_BR/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/pt_BR/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/pt_BR/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/pt_BR/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e94cb15a3cba0562c4e26487a015f123  gnucash/accounts/pt_BR/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/pt_BR/Makefile.am'` -ne 606 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/pt_BR/Makefile.am' is not 606"
  fi
fi
# ============= gnucash/accounts/cs/Makefile.am ==============
if test ! -d 'gnucash/accounts/cs'; then
  mkdir 'gnucash/accounts/cs'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/cs."
else ${echo} "x - failed to create directory gnucash/accounts/cs."
     exit 1
fi
fi
if test -f 'gnucash/accounts/cs/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/cs/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/cs/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/cs/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/cs
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_currency.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 50 'gnucash/accounts/cs/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/cs/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/cs/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/cs/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
15714c8275d1617672f4cb6a8fa9491f  gnucash/accounts/cs/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/cs/Makefile.am'` -ne 603 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/cs/Makefile.am' is not 603"
  fi
fi
# ============= gnucash/accounts/nl/Makefile.am ==============
if test ! -d 'gnucash/accounts/nl'; then
  mkdir 'gnucash/accounts/nl'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/nl."
else ${echo} "x - failed to create directory gnucash/accounts/nl."
     exit 1
fi
fi
if test -f 'gnucash/accounts/nl/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/nl/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/nl/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/nl/Makefile.am' &&
accountdir = ${GNC_ACCOUNTS_DIR}/nl
X
account_DATA = \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_full.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 06 19 21 09 28 'gnucash/accounts/nl/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/nl/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/nl/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/nl/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
03e926390a0926fbf0512d4dc8f7639f  gnucash/accounts/nl/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/nl/Makefile.am'` -ne 151 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/nl/Makefile.am' is not 151"
  fi
fi
# ============= gnucash/accounts/en_GB/Makefile.am ==============
if test ! -d 'gnucash/accounts/en_GB'; then
  mkdir 'gnucash/accounts/en_GB'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/en_GB."
else ${echo} "x - failed to create directory gnucash/accounts/en_GB."
     exit 1
fi
fi
if test -f 'gnucash/accounts/en_GB/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/en_GB/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/en_GB/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/en_GB/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/en_GB
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea \
X  uk-vat.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/en_GB/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/en_GB/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/en_GB/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/en_GB/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e5e61bd57da33e8a9ba80258b31ab53b  gnucash/accounts/en_GB/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/en_GB/Makefile.am'` -ne 695 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/en_GB/Makefile.am' is not 695"
  fi
fi
# ============= gnucash/accounts/ko/Makefile.am ==============
if test ! -d 'gnucash/accounts/ko'; then
  mkdir 'gnucash/accounts/ko'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/ko."
else ${echo} "x - failed to create directory gnucash/accounts/ko."
     exit 1
fi
fi
if test -f 'gnucash/accounts/ko/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/ko/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/ko/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/ko/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/ko
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 51 'gnucash/accounts/ko/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/ko/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/ko/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/ko/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5afbf6d5fe3f7b85e606c7c5b678fedf  gnucash/accounts/ko/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/ko/Makefile.am'` -ne 638 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/ko/Makefile.am' is not 638"
  fi
fi
# ============= gnucash/accounts/C/Makefile.am ==============
if test ! -d 'gnucash/accounts/C'; then
  mkdir 'gnucash/accounts/C'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/C."
else ${echo} "x - failed to create directory gnucash/accounts/C."
     exit 1
fi
fi
if test -f 'gnucash/accounts/C/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/C/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/C/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/C/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/C
X
account_DATA = \
X  acctchrt_brokerage.gnucash-xea \
X  acctchrt_business.gnucash-xea \
X  acctchrt_carloan.gnucash-xea \
X  acctchrt_cdmoneymkt.gnucash-xea \
X  acctchrt_checkbook.gnucash-xea \
X  acctchrt_childcare.gnucash-xea \
X  acctchrt_common.gnucash-xea \
X  acctchrt_eduloan.gnucash-xea \
X  acctchrt_fixedassets.gnucash-xea \
X  acctchrt_homeloan.gnucash-xea \
X  acctchrt_homeown.gnucash-xea \
X  acctchrt_otherloan.gnucash-xea \
X  acctchrt_renter.gnucash-xea \
X  acctchrt_retiremt.gnucash-xea \
X  acctchrt_spouseinc.gnucash-xea \
X  acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 48 'gnucash/accounts/C/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/C/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/C/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/C/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
8c71b0ea4bc048d2c81ae5696177d7e2  gnucash/accounts/C/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/C/Makefile.am'` -ne 668 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/C/Makefile.am' is not 668"
  fi
fi
# ============= gnucash/accounts/tr_TR/Makefile.am ==============
if test ! -d 'gnucash/accounts/tr_TR'; then
  mkdir 'gnucash/accounts/tr_TR'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/tr_TR."
else ${echo} "x - failed to create directory gnucash/accounts/tr_TR."
     exit 1
fi
fi
if test -f 'gnucash/accounts/tr_TR/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/tr_TR/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/tr_TR/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/tr_TR/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/tr_TR
X
account_DATA = \
X acctchrt_brokerage.gnucash-xea \
X acctchrt_carloan.gnucash-xea \
X acctchrt_cdmoneymkt.gnucash-xea \
X acctchrt_checkbook.gnucash-xea \
X acctchrt_common.gnucash-xea \
X acctchrt_fixedassets.gnucash-xea \
X acctchrt_homeloan.gnucash-xea \
X acctchrt_TEKDUZ.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 49 'gnucash/accounts/tr_TR/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/tr_TR/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/tr_TR/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/tr_TR/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
823743cf51b88ce3152076b6f3f67e40  gnucash/accounts/tr_TR/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/tr_TR/Makefile.am'` -ne 356 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/tr_TR/Makefile.am' is not 356"
  fi
fi
# ============= gnucash/accounts/nb/Makefile.am ==============
if test ! -d 'gnucash/accounts/nb'; then
  mkdir 'gnucash/accounts/nb'
if test $? -eq 0
then ${echo} "x - created directory gnucash/accounts/nb."
else ${echo} "x - failed to create directory gnucash/accounts/nb."
     exit 1
fi
fi
if test -f 'gnucash/accounts/nb/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/accounts/nb/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/accounts/nb/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/accounts/nb/Makefile.am' &&
X
accountdir = ${GNC_ACCOUNTS_DIR}/nb
X
account_DATA = \
X acctchrt_brokerage.gnucash-xea \
X acctchrt_business.gnucash-xea \
X acctchrt_carloan.gnucash-xea \
X acctchrt_cdmoneymkt.gnucash-xea \
X acctchrt_checkbook.gnucash-xea \
X acctchrt_childcare.gnucash-xea \
X acctchrt_common.gnucash-xea \
X acctchrt_eduloan.gnucash-xea \
X acctchrt_fixedassets.gnucash-xea \
X acctchrt_full.gnucash-xea \
X acctchrt_homeloan.gnucash-xea \
X acctchrt_homeown.gnucash-xea \
X acctchrt_otherloan.gnucash-xea \
X acctchrt_renter.gnucash-xea \
X acctchrt_retiremt.gnucash-xea \
X acctchrt_spouseinc.gnucash-xea \
X acctchrt_spouseretire.gnucash-xea
X
EXTRA_DIST = \
X  ${account_DATA} \
X  acctchrt_full.gnucash-xea 
SHAR_EOF
  (set 20 10 03 26 15 09 49 'gnucash/accounts/nb/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/accounts/nb/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/accounts/nb/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/accounts/nb/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4475af22427310d9b3906d348b82ee48  gnucash/accounts/nb/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/accounts/nb/Makefile.am'` -ne 682 && \
  ${echo} "restoration warning:  size of 'gnucash/accounts/nb/Makefile.am' is not 682"
  fi
fi
# ============= gnucash/macros/lt~obsolete.m4 ==============
if test ! -d 'gnucash/macros'; then
  mkdir 'gnucash/macros'
if test $? -eq 0
then ${echo} "x - created directory gnucash/macros."
else ${echo} "x - failed to create directory gnucash/macros."
     exit 1
fi
fi
if test -f 'gnucash/macros/lt~obsolete.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/lt~obsolete.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/lt~obsolete.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/lt~obsolete.m4' &&
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
#
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
#   Written by Scott James Remnant, 2004.
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
X
# serial 4 lt~obsolete.m4
X
# These exist entirely to fool aclocal when bootstrapping libtool.
#
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
# which have later been changed to m4_define as they aren't part of the
# exported API, or moved to Autoconf or Automake where they belong.
#
# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
# using a macro with the same name in our local m4/libtool.m4 it'll
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
# and doesn't know about Autoconf macros at all.)
#
# So we provide this file, which has a silly filename so it's always
# included after everything else.  This provides aclocal with the
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
# because those macros already exist, or will be overwritten later.
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
#
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
# Yes, that means every name once taken will need to remain here until
# we give up compatibility with versions before 1.7, at which point
# we need to keep only those names which we still refer to.
X
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
X
m4_ifndef([AC_LIBTOOL_LINKER_OPTION],	[AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
m4_ifndef([AC_PROG_EGREP],		[AC_DEFUN([AC_PROG_EGREP])])
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
m4_ifndef([_LT_AC_SHELL_INIT],		[AC_DEFUN([_LT_AC_SHELL_INIT])])
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],	[AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
m4_ifndef([_LT_PROG_LTMAIN],		[AC_DEFUN([_LT_PROG_LTMAIN])])
m4_ifndef([_LT_AC_TAGVAR],		[AC_DEFUN([_LT_AC_TAGVAR])])
m4_ifndef([AC_LTDL_ENABLE_INSTALL],	[AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
m4_ifndef([AC_LTDL_PREOPEN],		[AC_DEFUN([AC_LTDL_PREOPEN])])
m4_ifndef([_LT_AC_SYS_COMPILER],	[AC_DEFUN([_LT_AC_SYS_COMPILER])])
m4_ifndef([_LT_AC_LOCK],		[AC_DEFUN([_LT_AC_LOCK])])
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],	[AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],	[AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],	[AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
m4_ifndef([AC_LIBTOOL_OBJDIR],		[AC_DEFUN([AC_LIBTOOL_OBJDIR])])
m4_ifndef([AC_LTDL_OBJDIR],		[AC_DEFUN([AC_LTDL_OBJDIR])])
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],	[AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
m4_ifndef([AC_PATH_MAGIC],		[AC_DEFUN([AC_PATH_MAGIC])])
m4_ifndef([AC_PROG_LD_GNU],		[AC_DEFUN([AC_PROG_LD_GNU])])
m4_ifndef([AC_PROG_LD_RELOAD_FLAG],	[AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
m4_ifndef([AC_DEPLIBS_CHECK_METHOD],	[AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],	[AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],	[AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
m4_ifndef([LT_AC_PROG_EGREP],		[AC_DEFUN([LT_AC_PROG_EGREP])])
m4_ifndef([LT_AC_PROG_SED],		[AC_DEFUN([LT_AC_PROG_SED])])
m4_ifndef([_LT_CC_BASENAME],		[AC_DEFUN([_LT_CC_BASENAME])])
m4_ifndef([_LT_COMPILER_BOILERPLATE],	[AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
m4_ifndef([_LT_LINKER_BOILERPLATE],	[AC_DEFUN([_LT_LINKER_BOILERPLATE])])
m4_ifndef([_AC_PROG_LIBTOOL],		[AC_DEFUN([_AC_PROG_LIBTOOL])])
m4_ifndef([AC_LIBTOOL_SETUP],		[AC_DEFUN([AC_LIBTOOL_SETUP])])
m4_ifndef([_LT_AC_CHECK_DLFCN],		[AC_DEFUN([_LT_AC_CHECK_DLFCN])])
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],	[AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
m4_ifndef([_LT_AC_TAGCONFIG],		[AC_DEFUN([_LT_AC_TAGCONFIG])])
m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
m4_ifndef([AC_LIBTOOL_RC],		[AC_DEFUN([AC_LIBTOOL_RC])])
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
m4_ifndef([_LT_AC_LANG_CXX_CONFIG],	[AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
m4_ifndef([_LT_AC_LANG_F77_CONFIG],	[AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],	[AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
SHAR_EOF
  (set 20 10 11 20 23 57 23 'gnucash/macros/lt~obsolete.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/lt~obsolete.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/lt~obsolete.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/lt~obsolete.m4': 'MD5 check failed'
       ) << \SHAR_EOF
13eeb5a2026d18ffe6428827fc7ab406  gnucash/macros/lt~obsolete.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/lt~obsolete.m4'` -ne 5707 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/lt~obsolete.m4' is not 5707"
  fi
fi
# ============= gnucash/macros/ltoptions.m4 ==============
if test ! -d 'gnucash/macros'; then
  mkdir 'gnucash/macros'
if test $? -eq 0
then ${echo} "x - created directory gnucash/macros."
else ${echo} "x - failed to create directory gnucash/macros."
     exit 1
fi
fi
if test -f 'gnucash/macros/ltoptions.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/ltoptions.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/ltoptions.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/ltoptions.m4' &&
# Helper functions for option handling.                    -*- Autoconf -*-
#
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
#   Written by Gary V. Vaughan, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
X
# serial 6 ltoptions.m4
X
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
X
X
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
# ------------------------------------------
m4_define([_LT_MANGLE_OPTION],
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
X
X
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
# ---------------------------------------
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
# saved as a flag.
m4_define([_LT_SET_OPTION],
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
X        _LT_MANGLE_DEFUN([$1], [$2]),
X    [m4_warning([Unknown $1 option `$2'])])[]dnl
])
X
X
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
# ------------------------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
m4_define([_LT_IF_OPTION],
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
X
X
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
# -------------------------------------------------------
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
# are set.
m4_define([_LT_UNLESS_OPTIONS],
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
X	    [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
X		      [m4_define([$0_found])])])[]dnl
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
])[]dnl
])
X
X
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
# ----------------------------------------
# OPTION-LIST is a space-separated list of Libtool options associated
# with MACRO-NAME.  If any OPTION has a matching handler declared with
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
# the unknown option and exit.
m4_defun([_LT_SET_OPTIONS],
[# Set options
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
X    [_LT_SET_OPTION([$1], _LT_Option)])
X
m4_if([$1],[LT_INIT],[
X  dnl
X  dnl Simply set some default values (i.e off) if boolean options were not
X  dnl specified:
X  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
X  ])
X  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
X  ])
X  dnl
X  dnl If no reference was made to various pairs of opposing options, then
X  dnl we run the default mode handler for the pair.  For example, if neither
X  dnl `shared' nor `disable-shared' was passed, we enable building of shared
X  dnl archives by default:
X  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
X  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
X  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
X  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
X  		   [_LT_ENABLE_FAST_INSTALL])
X  ])
])# _LT_SET_OPTIONS
X
X
## --------------------------------- ##
## Macros to handle LT_INIT options. ##
## --------------------------------- ##
X
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
# -----------------------------------------
m4_define([_LT_MANGLE_DEFUN],
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
X
X
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
# -----------------------------------------------
m4_define([LT_OPTION_DEFINE],
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
])# LT_OPTION_DEFINE
X
X
# dlopen
# ------
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
])
X
AU_DEFUN([AC_LIBTOOL_DLOPEN],
[_LT_SET_OPTION([LT_INIT], [dlopen])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the `dlopen' option into LT_INIT's first parameter.])
])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
X
X
# win32-dll
# ---------
# Declare package support for building win32 dll's.
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
[enable_win32_dll=yes
X
case $host in
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
X  AC_CHECK_TOOL(AS, as, false)
X  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
X  AC_CHECK_TOOL(OBJDUMP, objdump, false)
X  ;;
esac
X
test -z "$AS" && AS=as
_LT_DECL([], [AS],      [0], [Assembler program])dnl
X
test -z "$DLLTOOL" && DLLTOOL=dlltool
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
X
test -z "$OBJDUMP" && OBJDUMP=objdump
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
])# win32-dll
X
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
_LT_SET_OPTION([LT_INIT], [win32-dll])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the `win32-dll' option into LT_INIT's first parameter.])
])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
X
X
# _LT_ENABLE_SHARED([DEFAULT])
# ----------------------------
# implement the --enable-shared flag, and supports the `shared' and
# `disable-shared' LT_INIT options.
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
m4_define([_LT_ENABLE_SHARED],
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([shared],
X    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
X	[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
X    [p=${PACKAGE-default}
X    case $enableval in
X    yes) enable_shared=yes ;;
X    no) enable_shared=no ;;
X    *)
X      enable_shared=no
X      # Look at the argument we got.  We use all the common list separators.
X      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
X      for pkg in $enableval; do
X	IFS="$lt_save_ifs"
X	if test "X$pkg" = "X$p"; then
X	  enable_shared=yes
X	fi
X      done
X      IFS="$lt_save_ifs"
X      ;;
X    esac],
X    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
X
X    _LT_DECL([build_libtool_libs], [enable_shared], [0],
X	[Whether or not to build shared libraries])
])# _LT_ENABLE_SHARED
X
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
X
# Old names:
AC_DEFUN([AC_ENABLE_SHARED],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
])
X
AC_DEFUN([AC_DISABLE_SHARED],
[_LT_SET_OPTION([LT_INIT], [disable-shared])
])
X
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
X
X
X
# _LT_ENABLE_STATIC([DEFAULT])
# ----------------------------
# implement the --enable-static flag, and support the `static' and
# `disable-static' LT_INIT options.
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
m4_define([_LT_ENABLE_STATIC],
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([static],
X    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
X	[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
X    [p=${PACKAGE-default}
X    case $enableval in
X    yes) enable_static=yes ;;
X    no) enable_static=no ;;
X    *)
X     enable_static=no
X      # Look at the argument we got.  We use all the common list separators.
X      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
X      for pkg in $enableval; do
X	IFS="$lt_save_ifs"
X	if test "X$pkg" = "X$p"; then
X	  enable_static=yes
X	fi
X      done
X      IFS="$lt_save_ifs"
X      ;;
X    esac],
X    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
X
X    _LT_DECL([build_old_libs], [enable_static], [0],
X	[Whether or not to build static libraries])
])# _LT_ENABLE_STATIC
X
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
X
# Old names:
AC_DEFUN([AC_ENABLE_STATIC],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
])
X
AC_DEFUN([AC_DISABLE_STATIC],
[_LT_SET_OPTION([LT_INIT], [disable-static])
])
X
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
X
X
X
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
# ----------------------------------
# implement the --enable-fast-install flag, and support the `fast-install'
# and `disable-fast-install' LT_INIT options.
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
m4_define([_LT_ENABLE_FAST_INSTALL],
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
AC_ARG_ENABLE([fast-install],
X    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
X    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
X    [p=${PACKAGE-default}
X    case $enableval in
X    yes) enable_fast_install=yes ;;
X    no) enable_fast_install=no ;;
X    *)
X      enable_fast_install=no
X      # Look at the argument we got.  We use all the common list separators.
X      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
X      for pkg in $enableval; do
X	IFS="$lt_save_ifs"
X	if test "X$pkg" = "X$p"; then
X	  enable_fast_install=yes
X	fi
X      done
X      IFS="$lt_save_ifs"
X      ;;
X    esac],
X    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
X
_LT_DECL([fast_install], [enable_fast_install], [0],
X	 [Whether or not to optimize for fast installation])dnl
])# _LT_ENABLE_FAST_INSTALL
X
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
X
# Old names:
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
the `fast-install' option into LT_INIT's first parameter.])
])
X
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
the `disable-fast-install' option into LT_INIT's first parameter.])
])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
X
X
# _LT_WITH_PIC([MODE])
# --------------------
# implement the --with-pic flag, and support the `pic-only' and `no-pic'
# LT_INIT options.
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
m4_define([_LT_WITH_PIC],
[AC_ARG_WITH([pic],
X    [AS_HELP_STRING([--with-pic],
X	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
X    [pic_mode="$withval"],
X    [pic_mode=default])
X
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
X
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
])# _LT_WITH_PIC
X
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
X
# Old name:
AU_DEFUN([AC_LIBTOOL_PICMODE],
[_LT_SET_OPTION([LT_INIT], [pic-only])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you
put the `pic-only' option into LT_INIT's first parameter.])
])
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
X
## ----------------- ##
## LTDL_INIT Options ##
## ----------------- ##
X
m4_define([_LTDL_MODE], [])
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
X		 [m4_define([_LTDL_MODE], [nonrecursive])])
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
X		 [m4_define([_LTDL_MODE], [recursive])])
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
X		 [m4_define([_LTDL_MODE], [subproject])])
X
m4_define([_LTDL_TYPE], [])
LT_OPTION_DEFINE([LTDL_INIT], [installable],
X		 [m4_define([_LTDL_TYPE], [installable])])
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
X		 [m4_define([_LTDL_TYPE], [convenience])])
SHAR_EOF
  (set 20 10 11 20 23 57 23 'gnucash/macros/ltoptions.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/ltoptions.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/ltoptions.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/ltoptions.m4': 'MD5 check failed'
       ) << \SHAR_EOF
152941207b2a2348e1687f6d9430fdd4  gnucash/macros/ltoptions.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/ltoptions.m4'` -ne 11938 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/ltoptions.m4' is not 11938"
  fi
fi
# ============= gnucash/macros/legacy_macros.m4 ==============
if test -f 'gnucash/macros/legacy_macros.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/legacy_macros.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/legacy_macros.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/legacy_macros.m4' &&
## -*-m4-*-
X
dnl AM_GUILE_VERSION_CHECK ([MINIMUM-VERSION, MAXIMUM-VERSION, [ACTION-IF-FOUND.
dnl	           [ACTION-IF-NOT-FOUND]]])
X
dnl tests for minimum and maximum versions of guile.
X
AC_DEFUN([AM_GUILE_VERSION_CHECK],
[
dnl
dnl
X
if test x${GUILE} = x ; then
X   AC_PATH_PROG(GUILE, guile, no)
fi
X
dnl We expect the following variables:
dnl - BUILD_GUILE="yes" if guile-config is available in PATH
dnl - name_build_guile="guile-config" i.e. the name of guile-config
dnl - GUILE="/usr/bin/guile" as detected above.
X
version_ok=
min_guile_version=ifelse([$1], , 1.3,$1)
max_guile_version=ifelse([$2], , 99.99.99,$2)
X
AC_MSG_CHECKING(for guile - ${min_guile_version} <= version < ${max_guile_version})
X
if test "x${BUILD_GUILE}" != x -a "x${BUILD_GUILE}" != xno ; then
X  guile_version=`${name_build_guile} --version 2>&1`
X  guile_version="$guile_version.0"
X  guile_major_version=`echo $guile_version | \
X	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\1/'`
X  guile_minor_version=`echo $guile_version | \
X	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
X  guile_micro_version=`echo $guile_version | \
X	sed 's/.*Guile version \([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\).*/\3/'`
X  guile_vers_string="$guile_major_version.$guile_minor_version.$guile_micro_version"
X
X  major_required=`echo ${min_guile_version} |\
X        sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
X  minor_required=`echo ${min_guile_version} |\
X	sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
X  micro_required=`echo ${min_guile_version} |\
X	sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
X
X  major_prohibited=`echo ${max_guile_version} |\
X        sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
X  minor_prohibited=`echo ${max_guile_version} |\
X	sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
X  micro_prohibited=`echo ${max_guile_version} |\
X	sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
X
X
X  if ${GUILE} -c "(cond ((> ${guile_major_version} ${major_required}) (exit 0))\
X	           ((< ${guile_major_version} ${major_required}) (exit 1))\
X                   ((> ${guile_minor_version} ${minor_required}) (exit 0))\
X		   ((< ${guile_minor_version} ${minor_required}) (exit 1))\
X	           ((< ${guile_micro_version} ${micro_required}) (exit 1))\
X		   (else (exit 0)))" ; then
X    if ${GUILE} -c "(cond ((> ${guile_major_version} ${major_prohibited}) (exit 1))\
X	           ((< ${guile_major_version} ${major_prohibited}) (exit 0))\
X                   ((> ${guile_minor_version} ${minor_prohibited}) (exit 1))\
X		   ((< ${guile_minor_version} ${minor_prohibited}) (exit 0))\
X	           ((< ${guile_micro_version} ${micro_prohibited}) (exit 0))\
X		   (else (exit 1)))" ; then
X  	version_ok=yes
X    fi
X  fi
fi
X
if test -n "$version_ok"; then
X	AC_MSG_RESULT(yes: $guile_vers_string)
X	ifelse([$3], , true, [$3])
X
else
X	AC_MSG_RESULT(no: $guile_vers_string)
X	ifelse([$4], , true , [AC_MSG_WARN(guile version check failed)
X	$4])
fi])
X
AC_DEFUN([STRUCT_TM_GMTOFF_CHECK],
[
X  AC_CACHE_CHECK([for the tm_gmtoff member of struct tm],
X                 am_cv_struct_tm_gmtoff,
X    [AC_TRY_LINK([
X        #include <time.h>
X        #define _GNU_SOURCE
X        #define __EXTENSIONS__
],
X      [struct tm tm;
X       tm.tm_gmtoff = 0;],
X      am_cv_struct_tm_gmtoff=yes,
X      am_cv_struct_tm_gmtoff=no)
X    ])
X  if test $am_cv_struct_tm_gmtoff = yes; then
X    AC_DEFINE(HAVE_STRUCT_TM_GMTOFF, 1,
X      [Define if you have the tm_gmtoff member of struct tm.])
X  fi
])
X
AC_DEFUN([SCANF_LLD_CHECK],
[
X  AC_CACHE_CHECK([if scanf supports %lld conversions],
X                 am_cv_scanf_lld,
X      AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
X
int main ()
{
X  long long int d;
X  long long int e;
X
X  d = 0;
X  e =  100000;
X  e *= 100000;
X  if ((sscanf ("10000000000", "%lld", &d) != 1) || (d != e))
X    exit (1);
X
X  exit (0);
}
],
X        am_cv_scanf_lld=yes,
X        am_cv_scanf_lld=no,[[
X	# When cross-compiling, simply insert known values here
X	case $host in
X	  *-*-mingw*)
X	    # For mingw we know the result
X	    am_cv_scanf_lld=no
X	    ;;
X	  *)
X	    AC_MSG_ERROR([scanf support unknown.])
X	    ;;
X	esac
]]))
X  if test $am_cv_scanf_lld = yes; then
X    AC_DEFINE(HAVE_SCANF_LLD, 1,
X      [Define if scanf supports %lld conversions.])
X  fi
])
X
AC_DEFUN([SCANF_QD_CHECK],
[
X  AC_CACHE_CHECK([if scanf supports %qd conversions],
X                 am_cv_scanf_qd,
X      AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
X
int main ()
{
X  long long int d;
X  long long int e;
X
X  d = 0;
X  e =  100000;
X  e *= 100000;
X  if ((sscanf ("10000000000", "%qd", &d) != 1) || (d != e))
X    exit (1);
X
X  exit (0);
}
],
X        am_cv_scanf_qd=yes,
X        am_cv_scanf_qd=no,[[
X	# When cross-compiling, simply insert known values here
X	case $host in
X	  *-*-mingw*)
X	    # For mingw we know the result
X	    am_cv_scanf_qd=no
X	    ;;
X	  *)
X	    AC_MSG_ERROR([scanf support unknown.])
X	    ;;
X	esac
]]))
X  if test $am_cv_scanf_qd = yes; then
X    AC_DEFINE(HAVE_SCANF_QD, 1,
X      [Define if scanf supports %qd conversions.])
X  fi
])
X
AC_DEFUN([SCANF_I64D_CHECK],
[
X  AC_CACHE_CHECK([if scanf supports %I64d conversions],
X                 am_cv_scanf_i64d,
X      AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
X
int main ()
{
X  long long int d;
X  long long int e;
X
X  d = 0;
X  e =  100000;
X  e *= 100000;
X  if ((sscanf ("10000000000", "%I64d", &d) != 1) || (d != e))
X    exit (1);
X
X  exit (0);
}
],
X        am_cv_scanf_i64d=yes,
X        am_cv_scanf_i64d=no,[[
X	# When cross-compiling, simply insert known values here
X	case $host in
X	  *-*-mingw*)
X	    # For mingw we know the result
X	    am_cv_scanf_i64d=yes
X	    ;;
X	  *)
X	    AC_MSG_ERROR([scanf support unknown.])
X	    ;;
X	esac
]]))
X  if test $am_cv_scanf_i64d = yes; then
X    AC_DEFINE(HAVE_SCANF_I64D, 1,
X      [Define if scanf supports %I64d conversions.])
X  fi
])
X
AC_DEFUN([LANGINFO_D_FMT_CHECK],
[
X  AC_CACHE_CHECK([for nl_langinfo and D_FMT], am_cv_langinfo_dfmt,
X    [AC_TRY_LINK([#include <langinfo.h>],
X      [char* cs = nl_langinfo(D_FMT);],
X      am_cv_langinfo_dfmt=yes,
X      am_cv_langinfo_dfmt=no)
X    ])
X  if test $am_cv_langinfo_dfmt = yes; then
X    AC_DEFINE(HAVE_LANGINFO_D_FMT, 1,
X      [Define if you have <langinfo.h> and nl_langinfo(D_FMT).])
X  fi
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/legacy_macros.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/legacy_macros.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/legacy_macros.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/legacy_macros.m4': 'MD5 check failed'
       ) << \SHAR_EOF
2f1fcbb52645df15b7edcf5f48f7f696  gnucash/macros/legacy_macros.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/legacy_macros.m4'` -ne 6228 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/legacy_macros.m4' is not 6228"
  fi
fi
# ============= gnucash/macros/ac_pkg_swig.m4 ==============
if test -f 'gnucash/macros/ac_pkg_swig.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/ac_pkg_swig.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/ac_pkg_swig.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/ac_pkg_swig.m4' &&
dnl @synopsis AC_PROG_SWIG([major.minor.micro])
dnl
dnl This macro searches for a SWIG installation on your system. If
dnl found you should call SWIG via $(SWIG). You can use the optional
dnl first argument to check if the version of the available SWIG is
dnl greater than or equal to the value of the argument. It should have
dnl the format: N[.N[.N]] (N is a number between 0 and 999. Only the
dnl first N is mandatory.)
dnl
dnl If the version argument is given (e.g. 1.3.17), AC_PROG_SWIG checks
dnl that the swig package is this version number or higher.
dnl
dnl In configure.in, use as:
dnl
dnl             AC_PROG_SWIG(1.3.17)
dnl             SWIG_ENABLE_CXX
dnl             SWIG_MULTI_MODULE_SUPPORT
dnl             SWIG_PYTHON
dnl
dnl @category InstalledPackages
dnl @author Sebastian Huber <sebastian-huber@web.de>
dnl @author Alan W. Irwin <irwin@beluga.phys.uvic.ca>
dnl @author Rafael Laboissiere <rafael@laboissiere.net>
dnl @author Andrew Collier <abcollier@yahoo.com>
dnl @version 2004-09-20
dnl @license GPLWithACException
X
AC_DEFUN([AC_PROG_SWIG],[
X        AC_PATH_PROG([SWIG],[swig])
X        if test -z "$SWIG" ; then
X                AC_MSG_ERROR([cannot find 'swig' program. You should look at http://www.swig.org])
X                SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
X        elif test -n "$1" ; then
X                AC_MSG_CHECKING([for SWIG version])
X                [swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
X                AC_MSG_RESULT([$swig_version])
X                if test -n "$swig_version" ; then
X                        # Calculate the required version number components
X                        [required=$1]
X                        [required_major=`echo $required | sed 's/[^0-9].*//'`]
X                        if test -z "$required_major" ; then
X                                [required_major=0]
X                        fi
X                        [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
X                        [required_minor=`echo $required | sed 's/[^0-9].*//'`]
X                        if test -z "$required_minor" ; then
X                                [required_minor=0]
X                        fi
X                        [required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
X                        [required_patch=`echo $required | sed 's/[^0-9].*//'`]
X                        if test -z "$required_patch" ; then
X                                [required_patch=0]
X                        fi
X                        # Calculate the available version number components
X                        [available=$swig_version]
X                        [available_major=`echo $available | sed 's/[^0-9].*//'`]
X                        if test -z "$available_major" ; then
X                                [available_major=0]
X                        fi
X                        [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
X                        [available_minor=`echo $available | sed 's/[^0-9].*//'`]
X                        if test -z "$available_minor" ; then
X                                [available_minor=0]
X                        fi
X                        [available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
X                        [available_patch=`echo $available | sed 's/[^0-9].*//'`]
X                        if test -z "$available_patch" ; then
X                                [available_patch=0]
X                        fi
X                        if test $available_major -lt $required_major \
X                                -o \( $available_major -eq $required_major \
X                                    -a \( $available_minor -lt $required_minor \
X                                        -o \( $available_minor -eq $required_minor \
X                                            -a $available_patch -lt $required_patch \) \) \) ; then
X                                AC_MSG_ERROR([SWIG version >= $1 is required.  You have $swig_version.  You should look at http://www.swig.org])
X                                SWIG='echo "Error: SWIG version >= $1 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
X                        else
X                                AC_MSG_NOTICE([SWIG executable is '$SWIG'])
dnl We do not make use of SWIG_LIB and `$SWIG -swiglib` made problems on MinGW (output was two lines)
dnl                                SWIG_LIB=`$SWIG -swiglib`
dnl                                AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
X                        fi
X                else
X                        AC_MSG_ERROR([cannot determine SWIG version])
X                        SWIG='echo "Error: Cannot determine SWIG version.  You should look at http://www.swig.org" ; false'
X                fi
X        fi
dnl        AC_SUBST([SWIG_LIB])
])
X
# SWIG_ENABLE_CXX()
#
# Enable SWIG C++ support.  This affects all invocations of $(SWIG).
AC_DEFUN([SWIG_ENABLE_CXX],[
X        AC_REQUIRE([AC_PROG_SWIG])
X        AC_REQUIRE([AC_PROG_CXX])
X        SWIG="$SWIG -c++"
])
X
# SWIG_MULTI_MODULE_SUPPORT()
#
# Enable support for multiple modules.  This effects all invocations
# of $(SWIG).  You have to link all generated modules against the
# appropriate SWIG runtime library.  If you want to build Python
# modules for example, use the SWIG_PYTHON() macro and link the
# modules against $(SWIG_PYTHON_LIBS).
#
AC_DEFUN([SWIG_MULTI_MODULE_SUPPORT],[
X        AC_REQUIRE([AC_PROG_SWIG])
X        SWIG="$SWIG -noruntime"
])
X
# SWIG_PYTHON([use-shadow-classes = {no, yes}])
#
# Checks for Python and provides the $(SWIG_PYTHON_CPPFLAGS),
# and $(SWIG_PYTHON_OPT) output variables.
#
# $(SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
# code for Python.  Shadow classes are enabled unless the value of the
# optional first argument is exactly 'no'.  If you need multi module
# support (provided by the SWIG_MULTI_MODULE_SUPPORT() macro) use
# $(SWIG_PYTHON_LIBS) to link against the appropriate library.  It
# contains the SWIG Python runtime library that is needed by the type
# check system for example.
AC_DEFUN([SWIG_PYTHON],[
X        AC_REQUIRE([AC_PROG_SWIG])
X        AC_REQUIRE([AC_PYTHON_DEVEL])
X        test "x$1" != "xno" || swig_shadow=" -noproxy"
X        AC_SUBST([SWIG_PYTHON_OPT],[-python$swig_shadow])
X        AC_SUBST([SWIG_PYTHON_CPPFLAGS],[$PYTHON_CPPFLAGS])
])
X
X
dnl @synopsis AC_LIB_WAD
dnl
dnl This macro searches for installed WAD library.
dnl
AC_DEFUN([AC_LIB_WAD],
[
X        AC_REQUIRE([AC_PYTHON_DEVEL])
X        AC_ARG_ENABLE(wad,
X        AC_HELP_STRING([--enable-wad], [enable wad module]),
X        [
X                case "${enableval}" in
X                        no)     ;;
X                        *)      if test "x${enableval}" = xyes;
X                                then
X                                        check_wad="yes"
X                                fi ;;
X                esac
X        ], [])
X
X        if test -n "$check_wad";
X        then
X                AC_CHECK_LIB(wadpy, _init, [WADPY=-lwadpy], [], $PYTHON_LDFLAGS $PYTHON_EXTRA_LIBS)
X                AC_SUBST(WADPY)
X        fi
])
SHAR_EOF
  (set 20 10 07 11 20 01 22 'gnucash/macros/ac_pkg_swig.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/ac_pkg_swig.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/ac_pkg_swig.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/ac_pkg_swig.m4': 'MD5 check failed'
       ) << \SHAR_EOF
2e2cc0e14ff51b03436febedc19ecfd1  gnucash/macros/ac_pkg_swig.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/ac_pkg_swig.m4'` -ne 7194 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/ac_pkg_swig.m4' is not 7194"
  fi
fi
# ============= gnucash/macros/as-scrub-include.m4 ==============
if test -f 'gnucash/macros/as-scrub-include.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/as-scrub-include.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/as-scrub-include.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/as-scrub-include.m4' &&
dnl as-scrub-include.m4 0.0.1
dnl autostars m4 macro for scrubbing CFLAGS of system include dirs
dnl because gcc 3.x complains about including system including dirs
dnl
dnl thomas@apestaart.org
dnl
dnl This macro uses output of cpp -v and expects it to contain text that 
dnl looks a little bit like this:
dnl #include <...> search starts here:
dnl  /usr/local/include
dnl  /usr/lib/gcc-lib/i386-redhat-linux/3.2/include
dnl  /usr/include
dnl End of search list.
X
dnl AS_SCRUB_INCLUDE(VAR)
dnl example
dnl AS_SCRUB_INCLUDE(CFLAGS)
dnl will remove all system include dirs from the given CFLAGS
X
AC_DEFUN([AS_SCRUB_INCLUDE],
[
X  GIVEN_CFLAGS=$[$1]
X  INCLUDE_DIRS=`echo | cpp -v 2>&1`
X
X  dnl remove everything from this output between the "starts here" and "End of"
X  dnl line
X  INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
X  for dir in $INCLUDE_DIRS; do
X    GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s;-I$dir ;;" | sed -e "s;-I$dir$;;"`
X  done
X  [$1]=$GIVEN_CFLAGS
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/as-scrub-include.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/as-scrub-include.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/as-scrub-include.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/as-scrub-include.m4': 'MD5 check failed'
       ) << \SHAR_EOF
b76fba7fb4032db321542175c337772c  gnucash/macros/as-scrub-include.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/as-scrub-include.m4'` -ne 1035 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/as-scrub-include.m4' is not 1035"
  fi
fi
# ============= gnucash/macros/aqbanking.m4 ==============
if test -f 'gnucash/macros/aqbanking.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/aqbanking.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/aqbanking.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/aqbanking.m4' &&
# Id: aqbanking.m4,v 1.3 2005/07/17 13:02:52 cstim Exp
# (c) 2004 Martin Preuss<martin@libchipcard.de>
# This function checks for AqBanking
X
AC_DEFUN([AC_AQBANKING], [
dnl searches for aqbanking
dnl Arguments: 
dnl   $1: major version minimum
dnl   $2: minor version minimum
dnl   $3: patchlevel version minimum
dnl   $4: build version minimum
dnl Returns: aqbanking_dir
dnl          aqbanking_libs
dnl          aqbanking_libspp
dnl          aqbanking_data
dnl          aqbanking_plugins
dnl          aqbanking_includes
dnl          have_aqbanking
X
if test -z "$1"; then vma="0"; else vma="$1"; fi
if test -z "$2"; then vmi="1"; else vmi="$2"; fi
if test -z "$3"; then vpl="0"; else vpl="$3"; fi
if test -z "$4"; then vbld="0"; else vbld="$4"; fi
X
AC_MSG_CHECKING(if aqbanking support desired)
dnl Disabled this switch because it is confusing (as if there were an option)
#AC_ARG_ENABLE(aqbanking,
#  [  --enable-aqbanking      enable aqbanking support (default=yes)],
#  enable_aqbanking="$enableval",
enable_aqbanking="yes"
#)
AC_MSG_RESULT($enable_aqbanking)
X
have_aqbanking="no"
aqbanking_dir=""
aqbanking_data=""
aqbanking_plugins=""
aqbanking_libs=""
aqbanking_libspp=""
aqbanking_includes=""
if test "$enable_aqbanking" != "no"; then
X  AC_MSG_CHECKING(for aqbanking)
X  AC_ARG_WITH(aqbanking-dir, [  --with-aqbanking-dir=DIR
X                            uses aqbanking from given dir],
X    [lcc_dir="$withval"],
X    [lcc_dir="${prefix} \
X	     /usr/local \
X             /usr \
X             /"])
X
X  for li in $lcc_dir; do
X      if test -x "$li/bin/aqbanking-config"; then
X          aqbanking_dir="$li";
X          break
X      fi
X  done
X  if test -z "$aqbanking_dir"; then
X      AC_MSG_RESULT([not found ])
X      AC_MSG_ERROR([
*** The library AqBanking was not found. Obtain it from 
*** http://www.aquamaniac.de. 
*** If it is already installed (including the -devel package), 
*** you might need to specify the location with the 
*** option --with-aqbanking-dir=DIR.])
X  else
X      AC_MSG_RESULT($aqbanking_dir)
X      AC_MSG_CHECKING(for aqbanking libs)
X      aqbanking_libs="`$aqbanking_dir/bin/aqbanking-config --libraries`"
X      AC_MSG_RESULT($aqbanking_libs)
X      AC_MSG_CHECKING(for aqbanking C++ libs)
X      aqbanking_libspp="`$aqbanking_dir/bin/aqbanking-config --libraries++`"
X      AC_MSG_RESULT($aqbanking_libspp)
X      AC_MSG_CHECKING(for aqbanking includes)
X      aqbanking_includes="`$aqbanking_dir/bin/aqbanking-config --includes`"
X      AC_MSG_RESULT($aqbanking_includes)
X      AC_MSG_CHECKING(for aqbanking plugins)
X      aqbanking_plugins="`$aqbanking_dir/bin/aqbanking-config --plugins`"
X      AC_MSG_RESULT($aqbanking_plugins)
X      AC_MSG_CHECKING(for aqbanking data)
X      aqbanking_data="`$aqbanking_dir/bin/aqbanking-config --data`"
X      AC_MSG_RESULT($aqbanking_data)
X  fi
X  AC_MSG_CHECKING(if aqbanking test desired)
X  AC_ARG_ENABLE(aqbanking,
X    [  --enable-aqbanking-test   enable aqbanking-test (default=yes)],
X     enable_aqbanking_test="$enableval",
X     enable_aqbanking_test="yes")
X  AC_MSG_RESULT($enable_aqbanking_test)
X  AC_MSG_CHECKING(for AqBanking version >=$vma.$vmi.$vpl.$vbld)
X  if test "$enable_aqbanking_test" != "no"; then
X    aqbanking_versionstring="`$aqbanking_dir/bin/aqbanking-config --vstring`.`$aqbanking_dir/bin/aqbanking-config --vbuild`"
X    AC_MSG_RESULT([found $aqbanking_versionstring])
X    if test "$vma" -gt "`$aqbanking_dir/bin/aqbanking-config --vmajor`"; then
X      AC_MSG_ERROR([Your AqBanking version is way too old.
X      Please update from http://www.aquamaniac.de/aqbanking/])
X    elif test "$vma" = "`$aqbanking_dir/bin/aqbanking-config --vmajor`"; then
X      if test "$vmi" -gt "`$aqbanking_dir/bin/aqbanking-config --vminor`"; then
X        AC_MSG_ERROR([Your AqBanking version is too old.
X          Please update from http://www.aquamaniac.de/aqbanking/])
X      elif test "$vmi" = "`$aqbanking_dir/bin/aqbanking-config --vminor`"; then
X          if test "$vpl" -gt "`$aqbanking_dir/bin/aqbanking-config --vpatchlevel`"; then
X            AC_MSG_ERROR([Your AqBanking version is a little bit too old.
X            Please update from http://www.aquamaniac.de/aqbanking/])
X          elif test "$vpl" = "`$aqbanking_dir/bin/aqbanking-config --vpatchlevel`"; then
X            if test "$vbld" -gt "`$aqbanking_dir/bin/aqbanking-config --vbuild`"; then
X              AC_MSG_ERROR([Your AqBanking version is a little bit too old. 
X  Please update to the latest CVS version. Instructions for accessing 
X  CVS can be found on http://www.aquamaniac.de/aqbanking/])
X             fi
X           fi
X      fi
X    fi
X    have_aqbanking="yes"
X    #AC_MSG_RESULT(yes)
X  else
X    have_aqbanking="yes"
X    AC_MSG_RESULT(assuming yes)
X  fi
dnl end of "if enable-aqbanking"
fi
X
AC_SUBST(aqbanking_dir)
AC_SUBST(aqbanking_plugins)
AC_SUBST(aqbanking_libs)
AC_SUBST(aqbanking_libspp)
AC_SUBST(aqbanking_data)
AC_SUBST(aqbanking_includes)
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/aqbanking.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/aqbanking.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/aqbanking.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/aqbanking.m4': 'MD5 check failed'
       ) << \SHAR_EOF
6fac1b3fe62f41f55cd12a4a9e2e2e0d  gnucash/macros/aqbanking.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/aqbanking.m4'` -ne 4893 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/aqbanking.m4' is not 4893"
  fi
fi
# ============= gnucash/macros/ltversion.m4 ==============
if test -f 'gnucash/macros/ltversion.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/ltversion.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/ltversion.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/ltversion.m4' &&
# ltversion.m4 -- version numbers			-*- Autoconf -*-
#
#   Copyright (C) 2004 Free Software Foundation, Inc.
#   Written by Scott James Remnant, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
X
# Generated from ltversion.in.
X
# serial 3017 ltversion.m4
# This file is part of GNU Libtool
X
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
m4_define([LT_PACKAGE_REVISION], [1.3017])
X
AC_DEFUN([LTVERSION_VERSION],
[macro_version='2.2.6b'
macro_revision='1.3017'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])
SHAR_EOF
  (set 20 10 11 20 23 57 23 'gnucash/macros/ltversion.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/ltversion.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/ltversion.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/ltversion.m4': 'MD5 check failed'
       ) << \SHAR_EOF
3bba5357c51df8357a35c7e345712f3f  gnucash/macros/ltversion.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/ltversion.m4'` -ne 703 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/ltversion.m4' is not 703"
  fi
fi
# ============= gnucash/macros/gnome-guile-checks.m4 ==============
if test -f 'gnucash/macros/gnome-guile-checks.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/gnome-guile-checks.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/gnome-guile-checks.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/gnome-guile-checks.m4' &&
dnl
dnl GNOME_CHECK_GUILE (failflag)
dnl
dnl if failflag is "fail" then GNOME_CHECK_GUILE will abort if guile is not found.
dnl
X
AC_DEFUN([GNOME_CHECK_GUILE],
[
X	saved_ldflags="$LDFLAGS"
X	saved_cppflags="$CPPFLAGS"
X	LDFLAGS="$LDFLAGS $GNOME_LIBDIR"
X
X	AC_CHECK_LIB(qthreads,qt_null,[
X		QTTHREADS_LIB="-lqthreads"
X	],[
X		AC_CHECK_LIB(qt, qt_null, QTTHREADS_LIB="-lqt")
X	],$LIBS)
X	AC_SUBST(QTTHREADS_LIB)
X
X	AC_CHECK_LIB(termcap,main,TERMCAP_LIB="-ltermcap")
X	AC_CHECK_LIB(readline,main,READLINE_LIB="-lreadline",,$TERMCAP_LIB)
X
X	AC_SUBST(TERMCAP_LIB)
X	AC_SUBST(READLINE_LIB)
X
X	if test "x$cross_compiling" = "xyes" ; then
X	  name_build_guile="$target_alias-guile-config"
X	else
X	  name_build_guile="guile-config"
X	fi
X
X	AC_CHECK_PROG(BUILD_GUILE, $name_build_guile, yes, no)
X
X	if test "x$BUILD_GUILE" = "xyes"; then
X	    AC_MSG_CHECKING(whether $name_build_guile works)
X	    if test x`$name_build_guile --version >/dev/null 2>&1 || \
X		echo no` = xno; then
X		BUILD_GUILE=no
X	    fi
X	    AC_MSG_RESULT($BUILD_GUILE)
X	else
X
X	    if test "x$cross_compiling" = "xyes" ; then
X		name_build_guile="$target_alias-build-guile"
X	    else	
X		name_build_guile="build-guile"
X	    fi
X
X	    AC_CHECK_PROG(BUILD_GUILE, $name_build_guile, yes, no)
X
X	    if test "x$BUILD_GUILE" = "xyes"; then
X		AC_MSG_CHECKING(whether $name_build_guile works)
X		if test x`$name_build_guile --version >/dev/null 2>&1 || \
X	 	    echo no` = xno; then
X		    BUILD_GUILE=no
X		fi
X		AC_MSG_RESULT($BUILD_GUILE)
X	    fi
X	fi
X
X	AC_CHECK_LIB(m, sin)
X
X	if test "x$BUILD_GUILE" = "xyes"; then
X		AC_MSG_CHECKING(for guile libraries)
X		GUILE_LIBS="`$name_build_guile link`"
X		AC_MSG_RESULT($GUILE_LIBS)
X		AC_MSG_CHECKING(for guile headers)
X		GUILE_INCS="`$name_build_guile compile`"
X		AC_MSG_RESULT($GUILE_INCS)
X	else
X		GUILE_LIBS="$GNOME_LIBDIR"
X		GUILE_INCS="$GNOME_INCLUDEDIR"
X		AC_CHECK_LIB(rx, main, GUILE_LIBS="-lrx $GUILE_LIBS")
X		AC_CHECK_LIB(qt, qt_null, GUILE_LIBS="-lqt $GUILE_LIBS")
X		AC_CHECK_LIB(dl, dlopen, GUILE_LIBS="-ldl $GUILE_LIBS")
X		AC_CHECK_LIB(nsl, t_accept, GUILE_LIBS="$GUILE_LIBS -lnsl")
X		AC_CHECK_LIB(socket, socket, GUILE_LIBS="$GUILE_LIBS -lsocket")
X		GUILE_LIBS="-lguile $GUILE_LIBS $QTTHREADS_LIB $READLINE_LIB $TERMCAP_LIB"
X	fi
X
X	AC_SUBST(GUILE_LIBS)
X	AC_SUBST(GUILE_INCS)
X
X	saved_LIBS="$LIBS"
X	LIBS="$LIBS $GUILE_LIBS"
X	CPPFLAGS="$saved_cppflags $GUILE_INCS"
X
X	AC_MSG_CHECKING(whether guile works)
X	AC_TRY_LINK([
X		#include <libguile.h>
X	],[
X		scm_c_eval_string("(newline)");
X		scm_boot_guile(0,NULL,NULL,NULL);
X	],[
X		ac_cv_guile_found=yes
X		AC_DEFINE(HAVE_GUILE,1,[Guile present])
X	],[
X		ac_cv_guile_found=no
X	])
X	AC_MSG_RESULT($ac_cv_guile_found)
X
X	if test x$ac_cv_guile_found = xno ; then
X		if test x$1 = xfail ; then
X		  AC_MSG_ERROR(Can not find Guile on this system)
X		else
X		  AC_MSG_WARN(Can not find Guile on this system)
X		fi
X		ac_cv_guile_found=no
X		GUILE_LIBS= GUILE_INCS=
X	fi
X
X	LIBS="$saved_LIBS"
X	LDFLAGS="$saved_ldflags"
X	CPPFLAGS="$saved_cppflags"
X
X	AC_SUBST(GUILE_LIBS)
X	AM_CONDITIONAL(GUILE, test x$ac_cv_guile_found = xyes)
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/gnome-guile-checks.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/gnome-guile-checks.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/gnome-guile-checks.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/gnome-guile-checks.m4': 'MD5 check failed'
       ) << \SHAR_EOF
71ba8c66d8a32c085fb6c05290a6e5be  gnucash/macros/gnome-guile-checks.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/gnome-guile-checks.m4'` -ne 3029 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/gnome-guile-checks.m4' is not 3029"
  fi
fi
# ============= gnucash/macros/libtool.m4 ==============
if test -f 'gnucash/macros/libtool.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/libtool.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/libtool.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/libtool.m4' &&
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
#
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
#                 2006, 2007, 2008 Free Software Foundation, Inc.
#   Written by Gordon Matzigkeit, 1996
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
X
m4_define([_LT_COPYING], [dnl
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
#                 2006, 2007, 2008 Free Software Foundation, Inc.
#   Written by Gordon Matzigkeit, 1996
#
#   This file is part of GNU Libtool.
#
# GNU Libtool is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# As a special exception to the GNU General Public License,
# if you distribute this file as part of a program or library that
# is built using GNU Libtool, you may include this file under the
# same distribution terms that you use for the rest of that program.
#
# GNU Libtool is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Libtool; see the file COPYING.  If not, a copy
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
# obtained by writing to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
])
X
# serial 56 LT_INIT
X
X
# LT_PREREQ(VERSION)
# ------------------
# Complain and exit if this libtool version is less that VERSION.
m4_defun([LT_PREREQ],
[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
X       [m4_default([$3],
X		   [m4_fatal([Libtool version $1 or higher is required],
X		             63)])],
X       [$2])])
X
X
# _LT_CHECK_BUILDDIR
# ------------------
# Complain if the absolute build directory name contains unusual characters
m4_defun([_LT_CHECK_BUILDDIR],
[case `pwd` in
X  *\ * | *\	*)
X    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
esac
])
X
X
# LT_INIT([OPTIONS])
# ------------------
AC_DEFUN([LT_INIT],
[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
AC_BEFORE([$0], [LT_LANG])dnl
AC_BEFORE([$0], [LT_OUTPUT])dnl
AC_BEFORE([$0], [LTDL_INIT])dnl
m4_require([_LT_CHECK_BUILDDIR])dnl
X
dnl Autoconf doesn't catch unexpanded LT_ macros by default:
m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
dnl unless we require an AC_DEFUNed macro:
AC_REQUIRE([LTOPTIONS_VERSION])dnl
AC_REQUIRE([LTSUGAR_VERSION])dnl
AC_REQUIRE([LTVERSION_VERSION])dnl
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
m4_require([_LT_PROG_LTMAIN])dnl
X
dnl Parse OPTIONS
_LT_SET_OPTIONS([$0], [$1])
X
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ltmain"
X
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
AC_SUBST(LIBTOOL)dnl
X
_LT_SETUP
X
# Only expand once:
m4_define([LT_INIT])
])# LT_INIT
X
# Old names:
AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
X
X
# _LT_CC_BASENAME(CC)
# -------------------
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
m4_defun([_LT_CC_BASENAME],
[for cc_temp in $1""; do
X  case $cc_temp in
X    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
X    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
X    \-*) ;;
X    *) break;;
X  esac
done
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
])
X
X
# _LT_FILEUTILS_DEFAULTS
# ----------------------
# It is okay to use these file commands and assume they have been set
# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
m4_defun([_LT_FILEUTILS_DEFAULTS],
[: ${CP="cp -f"}
: ${MV="mv -f"}
: ${RM="rm -f"}
])# _LT_FILEUTILS_DEFAULTS
X
X
# _LT_SETUP
# ---------
m4_defun([_LT_SETUP],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
_LT_DECL([], [host_alias], [0], [The host system])dnl
_LT_DECL([], [host], [0])dnl
_LT_DECL([], [host_os], [0])dnl
dnl
_LT_DECL([], [build_alias], [0], [The build system])dnl
_LT_DECL([], [build], [0])dnl
_LT_DECL([], [build_os], [0])dnl
dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([LT_PATH_LD])dnl
AC_REQUIRE([LT_PATH_NM])dnl
dnl
AC_REQUIRE([AC_PROG_LN_S])dnl
test -z "$LN_S" && LN_S="ln -s"
_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
dnl
AC_REQUIRE([LT_CMD_MAX_LEN])dnl
_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
m4_require([_LT_CMD_RELOAD])dnl
m4_require([_LT_CHECK_MAGIC_METHOD])dnl
m4_require([_LT_CMD_OLD_ARCHIVE])dnl
m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
X
_LT_CONFIG_LIBTOOL_INIT([
# See if we are running on zsh, and set the options which allow our
# commands through without removal of \ escapes INIT.
if test -n "\${ZSH_VERSION+set}" ; then
X   setopt NO_GLOB_SUBST
fi
])
if test -n "${ZSH_VERSION+set}" ; then
X   setopt NO_GLOB_SUBST
fi
X
_LT_CHECK_OBJDIR
X
m4_require([_LT_TAG_COMPILER])dnl
_LT_PROG_ECHO_BACKSLASH
X
case $host_os in
aix3*)
X  # AIX sometimes has problems with the GCC collect2 program.  For some
X  # reason, if we set the COLLECT_NAMES environment variable, the problems
X  # vanish in a puff of smoke.
X  if test "X${COLLECT_NAMES+set}" != Xset; then
X    COLLECT_NAMES=
X    export COLLECT_NAMES
X  fi
X  ;;
esac
X
# Sed substitution that helps us do robust quoting.  It backslashifies
# metacharacters that are still active within double-quoted strings.
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
X
# Same as above, but do not quote variable references.
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
X
# Sed substitution to delay expansion of an escaped shell variable in a
# double_quote_subst'ed string.
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
X
# Sed substitution to delay expansion of an escaped single quote.
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
X
# Sed substitution to avoid accidental globbing in evaled expressions
no_glob_subst='s/\*/\\\*/g'
X
# Global variables:
ofile=libtool
can_build_shared=yes
X
# All known linkers require a `.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
X
with_gnu_ld="$lt_cv_prog_gnu_ld"
X
old_CC="$CC"
old_CFLAGS="$CFLAGS"
X
# Set sane defaults for various variables
test -z "$CC" && CC=cc
test -z "$LTCC" && LTCC=$CC
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
test -z "$LD" && LD=ld
test -z "$ac_objext" && ac_objext=o
X
_LT_CC_BASENAME([$compiler])
X
# Only perform the check for file, if the check method requires it
test -z "$MAGIC_CMD" && MAGIC_CMD=file
case $deplibs_check_method in
file_magic*)
X  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
X    _LT_PATH_MAGIC
X  fi
X  ;;
esac
X
# Use C for the default configuration in the libtool script
LT_SUPPORTED_TAG([CC])
_LT_LANG_C_CONFIG
_LT_LANG_DEFAULT_CONFIG
_LT_CONFIG_COMMANDS
])# _LT_SETUP
X
X
# _LT_PROG_LTMAIN
# ---------------
# Note that this code is called both from `configure', and `config.status'
# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
# `config.status' has no value for ac_aux_dir unless we are using Automake,
# so we pass a copy along to make sure it has a sensible value anyway.
m4_defun([_LT_PROG_LTMAIN],
[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
ltmain="$ac_aux_dir/ltmain.sh"
])# _LT_PROG_LTMAIN
X
X
## ------------------------------------- ##
## Accumulate code for creating libtool. ##
## ------------------------------------- ##
X
# So that we can recreate a full libtool script including additional
# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
# in macros and then make a single call at the end using the `libtool'
# label.
X
X
# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
# ----------------------------------------
# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
m4_define([_LT_CONFIG_LIBTOOL_INIT],
[m4_ifval([$1],
X          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
X                     [$1
])])])
X
# Initialize.
m4_define([_LT_OUTPUT_LIBTOOL_INIT])
X
X
# _LT_CONFIG_LIBTOOL([COMMANDS])
# ------------------------------
# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
m4_define([_LT_CONFIG_LIBTOOL],
[m4_ifval([$1],
X          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
X                     [$1
])])])
X
# Initialize.
m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
X
X
# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
# -----------------------------------------------------
m4_defun([_LT_CONFIG_SAVE_COMMANDS],
[_LT_CONFIG_LIBTOOL([$1])
_LT_CONFIG_LIBTOOL_INIT([$2])
])
X
X
# _LT_FORMAT_COMMENT([COMMENT])
# -----------------------------
# Add leading comment marks to the start of each line, and a trailing
# full-stop to the whole comment if one is not present already.
m4_define([_LT_FORMAT_COMMENT],
[m4_ifval([$1], [
m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
X              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
)])
X
X
X
## ------------------------ ##
## FIXME: Eliminate VARNAME ##
## ------------------------ ##
X
X
# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
# -------------------------------------------------------------------
# CONFIGNAME is the name given to the value in the libtool script.
# VARNAME is the (base) name used in the configure script.
# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
# VARNAME.  Any other value will be used directly.
m4_define([_LT_DECL],
[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
X    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
X	[m4_ifval([$1], [$1], [$2])])
X    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
X    m4_ifval([$4],
X	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
X    lt_dict_add_subkey([lt_decl_dict], [$2],
X	[tagged?], [m4_ifval([$5], [yes], [no])])])
])
X
X
# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
# --------------------------------------------------------
m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
X
X
# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
# ------------------------------------------------
m4_define([lt_decl_tag_varnames],
[_lt_decl_filter([tagged?], [yes], $@)])
X
X
# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
# ---------------------------------------------------------
m4_define([_lt_decl_filter],
[m4_case([$#],
X  [0], [m4_fatal([$0: too few arguments: $#])],
X  [1], [m4_fatal([$0: too few arguments: $#: $1])],
X  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
X  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
X  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
])
X
X
# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
# --------------------------------------------------
m4_define([lt_decl_quote_varnames],
[_lt_decl_filter([value], [1], $@)])
X
X
# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
# ---------------------------------------------------
m4_define([lt_decl_dquote_varnames],
[_lt_decl_filter([value], [2], $@)])
X
X
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
# ---------------------------------------------------
m4_define([lt_decl_varnames_tagged],
[m4_assert([$# <= 2])dnl
_$0(m4_quote(m4_default([$1], [[, ]])),
X    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
X    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
m4_define([_lt_decl_varnames_tagged],
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
X
X
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
# ------------------------------------------------
m4_define([lt_decl_all_varnames],
[_$0(m4_quote(m4_default([$1], [[, ]])),
X     m4_if([$2], [],
X	   m4_quote(lt_decl_varnames),
X	m4_quote(m4_shift($@))))[]dnl
])
m4_define([_lt_decl_all_varnames],
[lt_join($@, lt_decl_varnames_tagged([$1],
X			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
])
X
X
# _LT_CONFIG_STATUS_DECLARE([VARNAME])
# ------------------------------------
# Quote a variable value, and forward it to `config.status' so that its
# declaration there will have the same value as in `configure'.  VARNAME
# must have a single quote delimited value for this to work.
m4_define([_LT_CONFIG_STATUS_DECLARE],
[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
X
X
# _LT_CONFIG_STATUS_DECLARATIONS
# ------------------------------
# We delimit libtool config variables with single quotes, so when
# we write them to config.status, we have to be sure to quote all
# embedded single quotes properly.  In configure, this macro expands
# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
#
#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
X    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
X
X
# _LT_LIBTOOL_TAGS
# ----------------
# Output comment and list of tags supported by the script
m4_defun([_LT_LIBTOOL_TAGS],
[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
available_tags="_LT_TAGS"dnl
])
X
X
# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
# -----------------------------------
# Extract the dictionary values for VARNAME (optionally with TAG) and
# expand to a commented shell variable setting:
#
#    # Some comment about what VAR is for.
#    visible_name=$lt_internal_name
m4_define([_LT_LIBTOOL_DECLARE],
[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
X					   [description])))[]dnl
m4_pushdef([_libtool_name],
X    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
X    [0], [_libtool_name=[$]$1],
X    [1], [_libtool_name=$lt_[]$1],
X    [2], [_libtool_name=$lt_[]$1],
X    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
])
X
X
# _LT_LIBTOOL_CONFIG_VARS
# -----------------------
# Produce commented declarations of non-tagged libtool config variables
# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
# section) are produced by _LT_LIBTOOL_TAG_VARS.
m4_defun([_LT_LIBTOOL_CONFIG_VARS],
[m4_foreach([_lt_var],
X    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
X    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
X
X
# _LT_LIBTOOL_TAG_VARS(TAG)
# -------------------------
m4_define([_LT_LIBTOOL_TAG_VARS],
[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
X    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
X
X
# _LT_TAGVAR(VARNAME, [TAGNAME])
# ------------------------------
m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
X
X
# _LT_CONFIG_COMMANDS
# -------------------
# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
# variables for single and double quote escaping we saved from calls
# to _LT_DECL, we can put quote escaped variables declarations
# into `config.status', and then the shell code to quote escape them in
# for loops in `config.status'.  Finally, any additional code accumulated
# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
m4_defun([_LT_CONFIG_COMMANDS],
[AC_PROVIDE_IFELSE([LT_OUTPUT],
X	dnl If the libtool generation code has been placed in $CONFIG_LT,
X	dnl instead of duplicating it all over again into config.status,
X	dnl then we will have config.status run $CONFIG_LT later, so it
X	dnl needs to know what name is stored there:
X        [AC_CONFIG_COMMANDS([libtool],
X            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
X    dnl If the libtool generation code is destined for config.status,
X    dnl expand the accumulated commands and init code now:
X    [AC_CONFIG_COMMANDS([libtool],
X        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
])#_LT_CONFIG_COMMANDS
X
X
# Initialize.
m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
[
X
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
X
sed_quote_subst='$sed_quote_subst'
double_quote_subst='$double_quote_subst'
delay_variable_subst='$delay_variable_subst'
_LT_CONFIG_STATUS_DECLARATIONS
LTCC='$LTCC'
LTCFLAGS='$LTCFLAGS'
compiler='$compiler_DEFAULT'
X
# Quote evaled strings.
for var in lt_decl_all_varnames([[ \
]], lt_decl_quote_varnames); do
X    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
X    *[[\\\\\\\`\\"\\\$]]*)
X      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
X      ;;
X    *)
X      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
X      ;;
X    esac
done
X
# Double-quote double-evaled strings.
for var in lt_decl_all_varnames([[ \
]], lt_decl_dquote_varnames); do
X    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
X    *[[\\\\\\\`\\"\\\$]]*)
X      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
X      ;;
X    *)
X      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
X      ;;
X    esac
done
X
# Fix-up fallback echo if it was mangled by the above quoting rules.
case \$lt_ECHO in
*'\\\[$]0 --fallback-echo"')dnl "
X  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
X  ;;
esac
X
_LT_OUTPUT_LIBTOOL_INIT
])
X
X
# LT_OUTPUT
# ---------
# This macro allows early generation of the libtool script (before
# AC_OUTPUT is called), incase it is used in configure for compilation
# tests.
AC_DEFUN([LT_OUTPUT],
[: ${CONFIG_LT=./config.lt}
AC_MSG_NOTICE([creating $CONFIG_LT])
cat >"$CONFIG_LT" <<_LTEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate a libtool stub with the current configuration.
X
lt_cl_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_LTEOF
X
cat >>"$CONFIG_LT" <<\_LTEOF
AS_SHELL_SANITIZE
_AS_PREPARE
X
exec AS_MESSAGE_FD>&1
exec AS_MESSAGE_LOG_FD>>config.log
{
X  echo
X  AS_BOX([Running $as_me.])
} >&AS_MESSAGE_LOG_FD
X
lt_cl_help="\
\`$as_me' creates a local libtool stub from the current configuration,
for use in further configure time tests before the real libtool is
generated.
X
Usage: $[0] [[OPTIONS]]
X
X  -h, --help      print this help, then exit
X  -V, --version   print version number, then exit
X  -q, --quiet     do not print progress messages
X  -d, --debug     don't remove temporary files
X
Report bugs to <bug-libtool@gnu.org>."
X
lt_cl_version="\
m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
configured by $[0], generated by m4_PACKAGE_STRING.
X
Copyright (C) 2008 Free Software Foundation, Inc.
This config.lt script is free software; the Free Software Foundation
gives unlimited permision to copy, distribute and modify it."
X
while test $[#] != 0
do
X  case $[1] in
X    --version | --v* | -V )
X      echo "$lt_cl_version"; exit 0 ;;
X    --help | --h* | -h )
X      echo "$lt_cl_help"; exit 0 ;;
X    --debug | --d* | -d )
X      debug=: ;;
X    --quiet | --q* | --silent | --s* | -q )
X      lt_cl_silent=: ;;
X
X    -*) AC_MSG_ERROR([unrecognized option: $[1]
Try \`$[0] --help' for more information.]) ;;
X
X    *) AC_MSG_ERROR([unrecognized argument: $[1]
Try \`$[0] --help' for more information.]) ;;
X  esac
X  shift
done
X
if $lt_cl_silent; then
X  exec AS_MESSAGE_FD>/dev/null
fi
_LTEOF
X
cat >>"$CONFIG_LT" <<_LTEOF
_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
_LTEOF
X
cat >>"$CONFIG_LT" <<\_LTEOF
AC_MSG_NOTICE([creating $ofile])
_LT_OUTPUT_LIBTOOL_COMMANDS
AS_EXIT(0)
_LTEOF
chmod +x "$CONFIG_LT"
X
# configure is writing to config.log, but config.lt does its own redirection,
# appending to config.log, which fails on DOS, as config.log is still kept
# open by configure.  Here we exec the FD to /dev/null, effectively closing
# config.log, so it can be properly (re)opened and appended to by config.lt.
if test "$no_create" != yes; then
X  lt_cl_success=:
X  test "$silent" = yes &&
X    lt_config_lt_args="$lt_config_lt_args --quiet"
X  exec AS_MESSAGE_LOG_FD>/dev/null
X  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
X  exec AS_MESSAGE_LOG_FD>>config.log
X  $lt_cl_success || AS_EXIT(1)
fi
])# LT_OUTPUT
X
X
# _LT_CONFIG(TAG)
# ---------------
# If TAG is the built-in tag, create an initial libtool script with a
# default configuration from the untagged config vars.  Otherwise add code
# to config.status for appending the configuration named by TAG from the
# matching tagged config vars.
m4_defun([_LT_CONFIG],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
_LT_CONFIG_SAVE_COMMANDS([
X  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
X  m4_if(_LT_TAG, [C], [
X    # See if we are running on zsh, and set the options which allow our
X    # commands through without removal of \ escapes.
X    if test -n "${ZSH_VERSION+set}" ; then
X      setopt NO_GLOB_SUBST
X    fi
X
X    cfgfile="${ofile}T"
X    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
X    $RM "$cfgfile"
X
X    cat <<_LT_EOF >> "$cfgfile"
#! $SHELL
X
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
_LT_COPYING
_LT_LIBTOOL_TAGS
X
# ### BEGIN LIBTOOL CONFIG
_LT_LIBTOOL_CONFIG_VARS
_LT_LIBTOOL_TAG_VARS
# ### END LIBTOOL CONFIG
X
_LT_EOF
X
X  case $host_os in
X  aix3*)
X    cat <<\_LT_EOF >> "$cfgfile"
# AIX sometimes has problems with the GCC collect2 program.  For some
# reason, if we set the COLLECT_NAMES environment variable, the problems
# vanish in a puff of smoke.
if test "X${COLLECT_NAMES+set}" != Xset; then
X  COLLECT_NAMES=
X  export COLLECT_NAMES
fi
_LT_EOF
X    ;;
X  esac
X
X  _LT_PROG_LTMAIN
X
X  # We use sed instead of cat because bash on DJGPP gets confused if
X  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
X  # text mode, it properly converts lines to CR/LF.  This bash problem
X  # is reportedly fixed, but why not run on old versions too?
X  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
X    || (rm -f "$cfgfile"; exit 1)
X
X  _LT_PROG_XSI_SHELLFNS
X
X  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
X    || (rm -f "$cfgfile"; exit 1)
X
X  mv -f "$cfgfile" "$ofile" ||
X    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
X  chmod +x "$ofile"
],
[cat <<_LT_EOF >> "$ofile"
X
dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
dnl in a comment (ie after a #).
# ### BEGIN LIBTOOL TAG CONFIG: $1
_LT_LIBTOOL_TAG_VARS(_LT_TAG)
# ### END LIBTOOL TAG CONFIG: $1
_LT_EOF
])dnl /m4_if
],
[m4_if([$1], [], [
X    PACKAGE='$PACKAGE'
X    VERSION='$VERSION'
X    TIMESTAMP='$TIMESTAMP'
X    RM='$RM'
X    ofile='$ofile'], [])
])dnl /_LT_CONFIG_SAVE_COMMANDS
])# _LT_CONFIG
X
X
# LT_SUPPORTED_TAG(TAG)
# ---------------------
# Trace this macro to discover what tags are supported by the libtool
# --tag option, using:
#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
AC_DEFUN([LT_SUPPORTED_TAG], [])
X
X
# C support is built-in for now
m4_define([_LT_LANG_C_enabled], [])
m4_define([_LT_TAGS], [])
X
X
# LT_LANG(LANG)
# -------------
# Enable libtool support for the given language if not already enabled.
AC_DEFUN([LT_LANG],
[AC_BEFORE([$0], [LT_OUTPUT])dnl
m4_case([$1],
X  [C],			[_LT_LANG(C)],
X  [C++],		[_LT_LANG(CXX)],
X  [Java],		[_LT_LANG(GCJ)],
X  [Fortran 77],		[_LT_LANG(F77)],
X  [Fortran],		[_LT_LANG(FC)],
X  [Windows Resource],	[_LT_LANG(RC)],
X  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
X    [_LT_LANG($1)],
X    [m4_fatal([$0: unsupported language: "$1"])])])dnl
])# LT_LANG
X
X
# _LT_LANG(LANGNAME)
# ------------------
m4_defun([_LT_LANG],
[m4_ifdef([_LT_LANG_]$1[_enabled], [],
X  [LT_SUPPORTED_TAG([$1])dnl
X  m4_append([_LT_TAGS], [$1 ])dnl
X  m4_define([_LT_LANG_]$1[_enabled], [])dnl
X  _LT_LANG_$1_CONFIG($1)])dnl
])# _LT_LANG
X
X
# _LT_LANG_DEFAULT_CONFIG
# -----------------------
m4_defun([_LT_LANG_DEFAULT_CONFIG],
[AC_PROVIDE_IFELSE([AC_PROG_CXX],
X  [LT_LANG(CXX)],
X  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
X
AC_PROVIDE_IFELSE([AC_PROG_F77],
X  [LT_LANG(F77)],
X  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
X
AC_PROVIDE_IFELSE([AC_PROG_FC],
X  [LT_LANG(FC)],
X  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
X
dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
dnl pulling things in needlessly.
AC_PROVIDE_IFELSE([AC_PROG_GCJ],
X  [LT_LANG(GCJ)],
X  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
X    [LT_LANG(GCJ)],
X    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
X      [LT_LANG(GCJ)],
X      [m4_ifdef([AC_PROG_GCJ],
X	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
X       m4_ifdef([A][M_PROG_GCJ],
X	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
X       m4_ifdef([LT_PROG_GCJ],
X	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
X
AC_PROVIDE_IFELSE([LT_PROG_RC],
X  [LT_LANG(RC)],
X  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
])# _LT_LANG_DEFAULT_CONFIG
X
# Obsolete macros:
AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
dnl AC_DEFUN([AC_LIBTOOL_F77], [])
dnl AC_DEFUN([AC_LIBTOOL_FC], [])
dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
X
X
# _LT_TAG_COMPILER
# ----------------
m4_defun([_LT_TAG_COMPILER],
[AC_REQUIRE([AC_PROG_CC])dnl
X
_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
X
# If no C compiler was specified, use CC.
LTCC=${LTCC-"$CC"}
X
# If no C compiler flags were specified, use CFLAGS.
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
X
# Allow CC to be a program name with arguments.
compiler=$CC
])# _LT_TAG_COMPILER
X
X
# _LT_COMPILER_BOILERPLATE
# ------------------------
# Check for compiler boilerplate output or warnings with
# the simple compiler test code.
m4_defun([_LT_COMPILER_BOILERPLATE],
[m4_require([_LT_DECL_SED])dnl
ac_outfile=conftest.$ac_objext
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
_lt_compiler_boilerplate=`cat conftest.err`
$RM conftest*
])# _LT_COMPILER_BOILERPLATE
X
X
# _LT_LINKER_BOILERPLATE
# ----------------------
# Check for linker boilerplate output or warnings with
# the simple link test code.
m4_defun([_LT_LINKER_BOILERPLATE],
[m4_require([_LT_DECL_SED])dnl
ac_outfile=conftest.$ac_objext
echo "$lt_simple_link_test_code" >conftest.$ac_ext
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
_lt_linker_boilerplate=`cat conftest.err`
$RM -r conftest*
])# _LT_LINKER_BOILERPLATE
X
# _LT_REQUIRED_DARWIN_CHECKS
# -------------------------
m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
X  case $host_os in
X    rhapsody* | darwin*)
X    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
X    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
X    AC_CHECK_TOOL([LIPO], [lipo], [:])
X    AC_CHECK_TOOL([OTOOL], [otool], [:])
X    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
X    _LT_DECL([], [DSYMUTIL], [1],
X      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
X    _LT_DECL([], [NMEDIT], [1],
X      [Tool to change global to local symbols on Mac OS X])
X    _LT_DECL([], [LIPO], [1],
X      [Tool to manipulate fat objects and archives on Mac OS X])
X    _LT_DECL([], [OTOOL], [1],
X      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
X    _LT_DECL([], [OTOOL64], [1],
X      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
X
X    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
X      [lt_cv_apple_cc_single_mod=no
X      if test -z "${LT_MULTI_MODULE}"; then
X	# By default we will add the -single_module flag. You can override
X	# by either setting the environment variable LT_MULTI_MODULE
X	# non-empty at configure time, or by adding -multi_module to the
X	# link flags.
X	rm -rf libconftest.dylib*
X	echo "int foo(void){return 1;}" > conftest.c
X	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
X	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
X	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
X        _lt_result=$?
X	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
X	  lt_cv_apple_cc_single_mod=yes
X	else
X	  cat conftest.err >&AS_MESSAGE_LOG_FD
X	fi
X	rm -rf libconftest.dylib*
X	rm -f conftest.*
X      fi])
X    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
X      [lt_cv_ld_exported_symbols_list],
X      [lt_cv_ld_exported_symbols_list=no
X      save_LDFLAGS=$LDFLAGS
X      echo "_main" > conftest.sym
X      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
X      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
X	[lt_cv_ld_exported_symbols_list=yes],
X	[lt_cv_ld_exported_symbols_list=no])
X	LDFLAGS="$save_LDFLAGS"
X    ])
X    case $host_os in
X    rhapsody* | darwin1.[[012]])
X      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
X    darwin1.*)
X      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
X    darwin*) # darwin 5.x on
X      # if running on 10.5 or later, the deployment target defaults
X      # to the OS version, if on x86, and 10.4, the deployment
X      # target defaults to 10.4. Don't you love it?
X      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
X	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
X	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
X	10.[[012]]*)
X	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
X	10.*)
X	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
X      esac
X    ;;
X  esac
X    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
X      _lt_dar_single_mod='$single_module'
X    fi
X    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
X      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
X    else
X      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
X    fi
X    if test "$DSYMUTIL" != ":"; then
X      _lt_dsymutil='~$DSYMUTIL $lib || :'
X    else
X      _lt_dsymutil=
X    fi
X    ;;
X  esac
])
X
X
# _LT_DARWIN_LINKER_FEATURES
# --------------------------
# Checks for linker and compiler features on darwin
m4_defun([_LT_DARWIN_LINKER_FEATURES],
[
X  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
X  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X  _LT_TAGVAR(hardcode_direct, $1)=no
X  _LT_TAGVAR(hardcode_automatic, $1)=yes
X  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
X  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
X  _LT_TAGVAR(link_all_deplibs, $1)=yes
X  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
X  case $cc_basename in
X     ifort*) _lt_dar_can_shared=yes ;;
X     *) _lt_dar_can_shared=$GCC ;;
X  esac
X  if test "$_lt_dar_can_shared" = "yes"; then
X    output_verbose_link_cmd=echo
X    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
X    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
X    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
X    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
X    m4_if([$1], [CXX],
[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
X      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
X      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
X    fi
],[])
X  else
X  _LT_TAGVAR(ld_shlibs, $1)=no
X  fi
])
X
# _LT_SYS_MODULE_PATH_AIX
# -----------------------
# Links a minimal program and checks the executable
# for the system default hardcoded library path. In most cases,
# this is /usr/lib:/lib, but when the MPI compilers are used
# the location of the communication and MPI libs are included too.
# If we don't find anything, use the default library path according
# to the aix ld manual.
m4_defun([_LT_SYS_MODULE_PATH_AIX],
[m4_require([_LT_DECL_SED])dnl
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
lt_aix_libpath_sed='
X    /Import File Strings/,/^$/ {
X	/^0/ {
X	    s/^0  *\(.*\)$/\1/
X	    p
X	}
X    }'
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
# Check for a 64-bit object if we didn't find anything.
if test -z "$aix_libpath"; then
X  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
fi],[])
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
])# _LT_SYS_MODULE_PATH_AIX
X
X
# _LT_SHELL_INIT(ARG)
# -------------------
m4_define([_LT_SHELL_INIT],
[ifdef([AC_DIVERSION_NOTICE],
X	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
X	 [AC_DIVERT_PUSH(NOTICE)])
$1
AC_DIVERT_POP
])# _LT_SHELL_INIT
X
X
# _LT_PROG_ECHO_BACKSLASH
# -----------------------
# Add some code to the start of the generated configure script which
# will find an echo command which doesn't interpret backslashes.
m4_defun([_LT_PROG_ECHO_BACKSLASH],
[_LT_SHELL_INIT([
# Check that we are running under the correct shell.
SHELL=${CONFIG_SHELL-/bin/sh}
X
case X$lt_ECHO in
XX*--fallback-echo)
X  # Remove one level of quotation (which was required for Make).
X  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
X  ;;
esac
X
ECHO=${lt_ECHO-echo}
if test "X[$]1" = X--no-reexec; then
X  # Discard the --no-reexec flag, and continue.
X  shift
elif test "X[$]1" = X--fallback-echo; then
X  # Avoid inline document here, it may be left over
X  :
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
X  # Yippee, $ECHO works!
X  :
else
X  # Restart under the correct shell.
X  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
fi
X
if test "X[$]1" = X--fallback-echo; then
X  # used as fallback echo
X  shift
X  cat <<_LT_EOF
[$]*
_LT_EOF
X  exit 0
fi
X
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
X
if test -z "$lt_ECHO"; then
X  if test "X${echo_test_string+set}" != Xset; then
X    # find a string as large as possible, as long as the shell can cope with it
X    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
X      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
X      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
X	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
X      then
X        break
X      fi
X    done
X  fi
X
X  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
X     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
X     test "X$echo_testing_string" = "X$echo_test_string"; then
X    :
X  else
X    # The Solaris, AIX, and Digital Unix default echo programs unquote
X    # backslashes.  This makes it impossible to quote backslashes using
X    #   echo "$something" | sed 's/\\/\\\\/g'
X    #
X    # So, first we look for a working echo in the user's PATH.
X
X    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
X    for dir in $PATH /usr/ucb; do
X      IFS="$lt_save_ifs"
X      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
X         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
X         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
X         test "X$echo_testing_string" = "X$echo_test_string"; then
X        ECHO="$dir/echo"
X        break
X      fi
X    done
X    IFS="$lt_save_ifs"
X
X    if test "X$ECHO" = Xecho; then
X      # We didn't find a better echo, so look for alternatives.
X      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
X         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
X         test "X$echo_testing_string" = "X$echo_test_string"; then
X        # This shell has a builtin print -r that does the trick.
X        ECHO='print -r'
X      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
X	   test "X$CONFIG_SHELL" != X/bin/ksh; then
X        # If we have ksh, try running configure again with it.
X        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
X        export ORIGINAL_CONFIG_SHELL
X        CONFIG_SHELL=/bin/ksh
X        export CONFIG_SHELL
X        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
X      else
X        # Try using printf.
X        ECHO='printf %s\n'
X        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
X	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
X	   test "X$echo_testing_string" = "X$echo_test_string"; then
X	  # Cool, printf works
X	  :
X        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
X	     test "X$echo_testing_string" = 'X\t' &&
X	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
X	     test "X$echo_testing_string" = "X$echo_test_string"; then
X	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
X	  export CONFIG_SHELL
X	  SHELL="$CONFIG_SHELL"
X	  export SHELL
X	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
X        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
X	     test "X$echo_testing_string" = 'X\t' &&
X	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
X	     test "X$echo_testing_string" = "X$echo_test_string"; then
X	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
X        else
X	  # maybe with a smaller string...
X	  prev=:
X
X	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
X	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
X	    then
X	      break
X	    fi
X	    prev="$cmd"
X	  done
X
X	  if test "$prev" != 'sed 50q "[$]0"'; then
X	    echo_test_string=`eval $prev`
X	    export echo_test_string
X	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
X	  else
X	    # Oops.  We lost completely, so just stick with echo.
X	    ECHO=echo
X	  fi
X        fi
X      fi
X    fi
X  fi
fi
X
# Copy echo and quote the copy suitably for passing to libtool from
# the Makefile, instead of quoting the original, which is used later.
lt_ECHO=$ECHO
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
X   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
fi
X
AC_SUBST(lt_ECHO)
])
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
_LT_DECL([], [ECHO], [1],
X    [An echo program that does not interpret backslashes])
])# _LT_PROG_ECHO_BACKSLASH
X
X
# _LT_ENABLE_LOCK
# ---------------
m4_defun([_LT_ENABLE_LOCK],
[AC_ARG_ENABLE([libtool-lock],
X  [AS_HELP_STRING([--disable-libtool-lock],
X    [avoid locking (might break parallel builds)])])
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
X
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case $host in
ia64-*-hpux*)
X  # Find out which ABI we are using.
X  echo 'int i;' > conftest.$ac_ext
X  if AC_TRY_EVAL(ac_compile); then
X    case `/usr/bin/file conftest.$ac_objext` in
X      *ELF-32*)
X	HPUX_IA64_MODE="32"
X	;;
X      *ELF-64*)
X	HPUX_IA64_MODE="64"
X	;;
X    esac
X  fi
X  rm -rf conftest*
X  ;;
*-*-irix6*)
X  # Find out which ABI we are using.
X  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
X  if AC_TRY_EVAL(ac_compile); then
X    if test "$lt_cv_prog_gnu_ld" = yes; then
X      case `/usr/bin/file conftest.$ac_objext` in
X	*32-bit*)
X	  LD="${LD-ld} -melf32bsmip"
X	  ;;
X	*N32*)
X	  LD="${LD-ld} -melf32bmipn32"
X	  ;;
X	*64-bit*)
X	  LD="${LD-ld} -melf64bmip"
X	;;
X      esac
X    else
X      case `/usr/bin/file conftest.$ac_objext` in
X	*32-bit*)
X	  LD="${LD-ld} -32"
X	  ;;
X	*N32*)
X	  LD="${LD-ld} -n32"
X	  ;;
X	*64-bit*)
X	  LD="${LD-ld} -64"
X	  ;;
X      esac
X    fi
X  fi
X  rm -rf conftest*
X  ;;
X
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
X  # Find out which ABI we are using.
X  echo 'int i;' > conftest.$ac_ext
X  if AC_TRY_EVAL(ac_compile); then
X    case `/usr/bin/file conftest.o` in
X      *32-bit*)
X	case $host in
X	  x86_64-*kfreebsd*-gnu)
X	    LD="${LD-ld} -m elf_i386_fbsd"
X	    ;;
X	  x86_64-*linux*)
X	    LD="${LD-ld} -m elf_i386"
X	    ;;
X	  ppc64-*linux*|powerpc64-*linux*)
X	    LD="${LD-ld} -m elf32ppclinux"
X	    ;;
X	  s390x-*linux*)
X	    LD="${LD-ld} -m elf_s390"
X	    ;;
X	  sparc64-*linux*)
X	    LD="${LD-ld} -m elf32_sparc"
X	    ;;
X	esac
X	;;
X      *64-bit*)
X	case $host in
X	  x86_64-*kfreebsd*-gnu)
X	    LD="${LD-ld} -m elf_x86_64_fbsd"
X	    ;;
X	  x86_64-*linux*)
X	    LD="${LD-ld} -m elf_x86_64"
X	    ;;
X	  ppc*-*linux*|powerpc*-*linux*)
X	    LD="${LD-ld} -m elf64ppc"
X	    ;;
X	  s390*-*linux*|s390*-*tpf*)
X	    LD="${LD-ld} -m elf64_s390"
X	    ;;
X	  sparc*-*linux*)
X	    LD="${LD-ld} -m elf64_sparc"
X	    ;;
X	esac
X	;;
X    esac
X  fi
X  rm -rf conftest*
X  ;;
X
*-*-sco3.2v5*)
X  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
X  SAVE_CFLAGS="$CFLAGS"
X  CFLAGS="$CFLAGS -belf"
X  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
X    [AC_LANG_PUSH(C)
X     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
X     AC_LANG_POP])
X  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
X    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
X    CFLAGS="$SAVE_CFLAGS"
X  fi
X  ;;
sparc*-*solaris*)
X  # Find out which ABI we are using.
X  echo 'int i;' > conftest.$ac_ext
X  if AC_TRY_EVAL(ac_compile); then
X    case `/usr/bin/file conftest.o` in
X    *64-bit*)
X      case $lt_cv_prog_gnu_ld in
X      yes*) LD="${LD-ld} -m elf64_sparc" ;;
X      *)
X	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
X	  LD="${LD-ld} -64"
X	fi
X	;;
X      esac
X      ;;
X    esac
X  fi
X  rm -rf conftest*
X  ;;
esac
X
need_locks="$enable_libtool_lock"
])# _LT_ENABLE_LOCK
X
X
# _LT_CMD_OLD_ARCHIVE
# -------------------
m4_defun([_LT_CMD_OLD_ARCHIVE],
[AC_CHECK_TOOL(AR, ar, false)
test -z "$AR" && AR=ar
test -z "$AR_FLAGS" && AR_FLAGS=cru
_LT_DECL([], [AR], [1], [The archiver])
_LT_DECL([], [AR_FLAGS], [1])
X
AC_CHECK_TOOL(STRIP, strip, :)
test -z "$STRIP" && STRIP=:
_LT_DECL([], [STRIP], [1], [A symbol stripping program])
X
AC_CHECK_TOOL(RANLIB, ranlib, :)
test -z "$RANLIB" && RANLIB=:
_LT_DECL([], [RANLIB], [1],
X    [Commands used to install an old-style archive])
X
# Determine commands to create old-style static archives.
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
old_postinstall_cmds='chmod 644 $oldlib'
old_postuninstall_cmds=
X
if test -n "$RANLIB"; then
X  case $host_os in
X  openbsd*)
X    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
X    ;;
X  *)
X    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
X    ;;
X  esac
X  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
fi
_LT_DECL([], [old_postinstall_cmds], [2])
_LT_DECL([], [old_postuninstall_cmds], [2])
_LT_TAGDECL([], [old_archive_cmds], [2],
X    [Commands used to build an old-style archive])
])# _LT_CMD_OLD_ARCHIVE
X
X
# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
# ----------------------------------------------------------------
# Check whether the given compiler option works
AC_DEFUN([_LT_COMPILER_OPTION],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_SED])dnl
AC_CACHE_CHECK([$1], [$2],
X  [$2=no
X   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
X   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
X   lt_compiler_flag="$3"
X   # Insert the option either (1) after the last *FLAGS variable, or
X   # (2) before a word containing "conftest.", or (3) at the end.
X   # Note that $ac_compile itself does not contain backslashes and begins
X   # with a dollar sign (not a hyphen), so the echo should work correctly.
X   # The option is referenced via a variable to avoid confusing sed.
X   lt_compile=`echo "$ac_compile" | $SED \
X   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
X   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
X   -e 's:$: $lt_compiler_flag:'`
X   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
X   (eval "$lt_compile" 2>conftest.err)
X   ac_status=$?
X   cat conftest.err >&AS_MESSAGE_LOG_FD
X   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
X   if (exit $ac_status) && test -s "$ac_outfile"; then
X     # The compiler can only warn and ignore the option if not recognized
X     # So say no if there are warnings other than the usual output.
X     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
X     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
X     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
X       $2=yes
X     fi
X   fi
X   $RM conftest*
])
X
if test x"[$]$2" = xyes; then
X    m4_if([$5], , :, [$5])
else
X    m4_if([$6], , :, [$6])
fi
])# _LT_COMPILER_OPTION
X
# Old name:
AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
X
X
# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
#                  [ACTION-SUCCESS], [ACTION-FAILURE])
# ----------------------------------------------------
# Check whether the given linker option works
AC_DEFUN([_LT_LINKER_OPTION],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_SED])dnl
AC_CACHE_CHECK([$1], [$2],
X  [$2=no
X   save_LDFLAGS="$LDFLAGS"
X   LDFLAGS="$LDFLAGS $3"
X   echo "$lt_simple_link_test_code" > conftest.$ac_ext
X   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
X     # The linker can only warn and ignore the option if not recognized
X     # So say no if there are warnings
X     if test -s conftest.err; then
X       # Append any errors to the config.log.
X       cat conftest.err 1>&AS_MESSAGE_LOG_FD
X       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
X       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
X       if diff conftest.exp conftest.er2 >/dev/null; then
X         $2=yes
X       fi
X     else
X       $2=yes
X     fi
X   fi
X   $RM -r conftest*
X   LDFLAGS="$save_LDFLAGS"
])
X
if test x"[$]$2" = xyes; then
X    m4_if([$4], , :, [$4])
else
X    m4_if([$5], , :, [$5])
fi
])# _LT_LINKER_OPTION
X
# Old name:
AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
X
X
# LT_CMD_MAX_LEN
#---------------
AC_DEFUN([LT_CMD_MAX_LEN],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
# find the maximum length of command line arguments
AC_MSG_CHECKING([the maximum length of command line arguments])
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
X  i=0
X  teststring="ABCD"
X
X  case $build_os in
X  msdosdjgpp*)
X    # On DJGPP, this test can blow up pretty badly due to problems in libc
X    # (any single argument exceeding 2000 bytes causes a buffer overrun
X    # during glob expansion).  Even if it were fixed, the result of this
X    # check would be larger than it should be.
X    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
X    ;;
X
X  gnu*)
X    # Under GNU Hurd, this test is not required because there is
X    # no limit to the length of command line arguments.
X    # Libtool will interpret -1 as no limit whatsoever
X    lt_cv_sys_max_cmd_len=-1;
X    ;;
X
X  cygwin* | mingw* | cegcc*)
X    # On Win9x/ME, this test blows up -- it succeeds, but takes
X    # about 5 minutes as the teststring grows exponentially.
X    # Worse, since 9x/ME are not pre-emptively multitasking,
X    # you end up with a "frozen" computer, even though with patience
X    # the test eventually succeeds (with a max line length of 256k).
X    # Instead, let's just punt: use the minimum linelength reported by
X    # all of the supported platforms: 8192 (on NT/2K/XP).
X    lt_cv_sys_max_cmd_len=8192;
X    ;;
X
X  amigaos*)
X    # On AmigaOS with pdksh, this test takes hours, literally.
X    # So we just punt and use a minimum line length of 8192.
X    lt_cv_sys_max_cmd_len=8192;
X    ;;
X
X  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
X    # This has been around since 386BSD, at least.  Likely further.
X    if test -x /sbin/sysctl; then
X      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
X    elif test -x /usr/sbin/sysctl; then
X      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
X    else
X      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
X    fi
X    # And add a safety zone
X    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
X    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
X    ;;
X
X  interix*)
X    # We know the value 262144 and hardcode it with a safety zone (like BSD)
X    lt_cv_sys_max_cmd_len=196608
X    ;;
X
X  osf*)
X    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
X    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
X    # nice to cause kernel panics so lets avoid the loop below.
X    # First set a reasonable default.
X    lt_cv_sys_max_cmd_len=16384
X    #
X    if test -x /sbin/sysconfig; then
X      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
X        *1*) lt_cv_sys_max_cmd_len=-1 ;;
X      esac
X    fi
X    ;;
X  sco3.2v5*)
X    lt_cv_sys_max_cmd_len=102400
X    ;;
X  sysv5* | sco5v6* | sysv4.2uw2*)
X    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
X    if test -n "$kargmax"; then
X      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
X    else
X      lt_cv_sys_max_cmd_len=32768
X    fi
X    ;;
X  *)
X    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
X    if test -n "$lt_cv_sys_max_cmd_len"; then
X      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
X      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
X    else
X      # Make teststring a little bigger before we do anything with it.
X      # a 1K string should be a reasonable start.
X      for i in 1 2 3 4 5 6 7 8 ; do
X        teststring=$teststring$teststring
X      done
X      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
X      # If test is not a shell built-in, we'll probably end up computing a
X      # maximum length that is only half of the actual maximum length, but
X      # we can't tell.
X      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
X	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
X	      test $i != 17 # 1/2 MB should be enough
X      do
X        i=`expr $i + 1`
X        teststring=$teststring$teststring
X      done
X      # Only check the string length outside the loop.
X      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
X      teststring=
X      # Add a significant safety factor because C++ compilers can tack on
X      # massive amounts of additional arguments before passing them to the
X      # linker.  It appears as though 1/2 is a usable value.
X      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
X    fi
X    ;;
X  esac
])
if test -n $lt_cv_sys_max_cmd_len ; then
X  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
else
X  AC_MSG_RESULT(none)
fi
max_cmd_len=$lt_cv_sys_max_cmd_len
_LT_DECL([], [max_cmd_len], [0],
X    [What is the maximum length of a command?])
])# LT_CMD_MAX_LEN
X
# Old name:
AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
X
X
# _LT_HEADER_DLFCN
# ----------------
m4_defun([_LT_HEADER_DLFCN],
[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
])# _LT_HEADER_DLFCN
X
X
# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
# ----------------------------------------------------------------
m4_defun([_LT_TRY_DLOPEN_SELF],
[m4_require([_LT_HEADER_DLFCN])dnl
if test "$cross_compiling" = yes; then :
X  [$4]
else
X  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
X  lt_status=$lt_dlunknown
X  cat > conftest.$ac_ext <<_LT_EOF
[#line __oline__ "configure"
#include "confdefs.h"
X
#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif
X
#include <stdio.h>
X
#ifdef RTLD_GLOBAL
#  define LT_DLGLOBAL		RTLD_GLOBAL
#else
#  ifdef DL_GLOBAL
#    define LT_DLGLOBAL		DL_GLOBAL
#  else
#    define LT_DLGLOBAL		0
#  endif
#endif
X
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
X   find out it does not work in some platform. */
#ifndef LT_DLLAZY_OR_NOW
#  ifdef RTLD_LAZY
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
#  else
#    ifdef DL_LAZY
#      define LT_DLLAZY_OR_NOW		DL_LAZY
#    else
#      ifdef RTLD_NOW
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
#      else
#        ifdef DL_NOW
#          define LT_DLLAZY_OR_NOW	DL_NOW
#        else
#          define LT_DLLAZY_OR_NOW	0
#        endif
#      endif
#    endif
#  endif
#endif
X
void fnord() { int i=42;}
int main ()
{
X  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
X  int status = $lt_dlunknown;
X
X  if (self)
X    {
X      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
X      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
X      /* dlclose (self); */
X    }
X  else
X    puts (dlerror ());
X
X  return status;
}]
_LT_EOF
X  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
X    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
X    lt_status=$?
X    case x$lt_status in
X      x$lt_dlno_uscore) $1 ;;
X      x$lt_dlneed_uscore) $2 ;;
X      x$lt_dlunknown|x*) $3 ;;
X    esac
X  else :
X    # compilation failed
X    $3
X  fi
fi
rm -fr conftest*
])# _LT_TRY_DLOPEN_SELF
X
X
# LT_SYS_DLOPEN_SELF
# ------------------
AC_DEFUN([LT_SYS_DLOPEN_SELF],
[m4_require([_LT_HEADER_DLFCN])dnl
if test "x$enable_dlopen" != xyes; then
X  enable_dlopen=unknown
X  enable_dlopen_self=unknown
X  enable_dlopen_self_static=unknown
else
X  lt_cv_dlopen=no
X  lt_cv_dlopen_libs=
X
X  case $host_os in
X  beos*)
X    lt_cv_dlopen="load_add_on"
X    lt_cv_dlopen_libs=
X    lt_cv_dlopen_self=yes
X    ;;
X
X  mingw* | pw32* | cegcc*)
X    lt_cv_dlopen="LoadLibrary"
X    lt_cv_dlopen_libs=
X    ;;
X
X  cygwin*)
X    lt_cv_dlopen="dlopen"
X    lt_cv_dlopen_libs=
X    ;;
X
X  darwin*)
X  # if libdl is installed we need to link against it
X    AC_CHECK_LIB([dl], [dlopen],
X		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
X    lt_cv_dlopen="dyld"
X    lt_cv_dlopen_libs=
X    lt_cv_dlopen_self=yes
X    ])
X    ;;
X
X  *)
X    AC_CHECK_FUNC([shl_load],
X	  [lt_cv_dlopen="shl_load"],
X      [AC_CHECK_LIB([dld], [shl_load],
X	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
X	[AC_CHECK_FUNC([dlopen],
X	      [lt_cv_dlopen="dlopen"],
X	  [AC_CHECK_LIB([dl], [dlopen],
X		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
X	    [AC_CHECK_LIB([svld], [dlopen],
X		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
X	      [AC_CHECK_LIB([dld], [dld_link],
X		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
X	      ])
X	    ])
X	  ])
X	])
X      ])
X    ;;
X  esac
X
X  if test "x$lt_cv_dlopen" != xno; then
X    enable_dlopen=yes
X  else
X    enable_dlopen=no
X  fi
X
X  case $lt_cv_dlopen in
X  dlopen)
X    save_CPPFLAGS="$CPPFLAGS"
X    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
X
X    save_LDFLAGS="$LDFLAGS"
X    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
X
X    save_LIBS="$LIBS"
X    LIBS="$lt_cv_dlopen_libs $LIBS"
X
X    AC_CACHE_CHECK([whether a program can dlopen itself],
X	  lt_cv_dlopen_self, [dnl
X	  _LT_TRY_DLOPEN_SELF(
X	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
X	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
X    ])
X
X    if test "x$lt_cv_dlopen_self" = xyes; then
X      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
X      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
X	  lt_cv_dlopen_self_static, [dnl
X	  _LT_TRY_DLOPEN_SELF(
X	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
X	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
X      ])
X    fi
X
X    CPPFLAGS="$save_CPPFLAGS"
X    LDFLAGS="$save_LDFLAGS"
X    LIBS="$save_LIBS"
X    ;;
X  esac
X
X  case $lt_cv_dlopen_self in
X  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
X  *) enable_dlopen_self=unknown ;;
X  esac
X
X  case $lt_cv_dlopen_self_static in
X  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
X  *) enable_dlopen_self_static=unknown ;;
X  esac
fi
_LT_DECL([dlopen_support], [enable_dlopen], [0],
X	 [Whether dlopen is supported])
_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
X	 [Whether dlopen of programs is supported])
_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
X	 [Whether dlopen of statically linked programs is supported])
])# LT_SYS_DLOPEN_SELF
X
# Old name:
AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
X
X
# _LT_COMPILER_C_O([TAGNAME])
# ---------------------------
# Check to see if options -c and -o are simultaneously supported by compiler.
# This macro does not hard code the compiler like AC_PROG_CC_C_O.
m4_defun([_LT_COMPILER_C_O],
[m4_require([_LT_DECL_SED])dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_TAG_COMPILER])dnl
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
X  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
X  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
X   $RM -r conftest 2>/dev/null
X   mkdir conftest
X   cd conftest
X   mkdir out
X   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
X
X   lt_compiler_flag="-o out/conftest2.$ac_objext"
X   # Insert the option either (1) after the last *FLAGS variable, or
X   # (2) before a word containing "conftest.", or (3) at the end.
X   # Note that $ac_compile itself does not contain backslashes and begins
X   # with a dollar sign (not a hyphen), so the echo should work correctly.
X   lt_compile=`echo "$ac_compile" | $SED \
X   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
X   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
X   -e 's:$: $lt_compiler_flag:'`
X   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
X   (eval "$lt_compile" 2>out/conftest.err)
X   ac_status=$?
X   cat out/conftest.err >&AS_MESSAGE_LOG_FD
X   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
X   if (exit $ac_status) && test -s out/conftest2.$ac_objext
X   then
X     # The compiler can only warn and ignore the option if not recognized
X     # So say no if there are warnings
X     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
X     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
X     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
X       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
X     fi
X   fi
X   chmod u+w . 2>&AS_MESSAGE_LOG_FD
X   $RM conftest*
X   # SGI C++ compiler will create directory out/ii_files/ for
X   # template instantiation
X   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
X   $RM out/* && rmdir out
X   cd ..
X   $RM -r conftest
X   $RM conftest*
])
_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
X	[Does compiler simultaneously support -c and -o options?])
])# _LT_COMPILER_C_O
X
X
# _LT_COMPILER_FILE_LOCKS([TAGNAME])
# ----------------------------------
# Check to see if we can do hard links to lock some files if needed
m4_defun([_LT_COMPILER_FILE_LOCKS],
[m4_require([_LT_ENABLE_LOCK])dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
_LT_COMPILER_C_O([$1])
X
hard_links="nottested"
if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
X  # do not overwrite the value of need_locks provided by the user
X  AC_MSG_CHECKING([if we can lock with hard links])
X  hard_links=yes
X  $RM conftest*
X  ln conftest.a conftest.b 2>/dev/null && hard_links=no
X  touch conftest.a
X  ln conftest.a conftest.b 2>&5 || hard_links=no
X  ln conftest.a conftest.b 2>/dev/null && hard_links=no
X  AC_MSG_RESULT([$hard_links])
X  if test "$hard_links" = no; then
X    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
X    need_locks=warn
X  fi
else
X  need_locks=no
fi
_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
])# _LT_COMPILER_FILE_LOCKS
X
X
# _LT_CHECK_OBJDIR
# ----------------
m4_defun([_LT_CHECK_OBJDIR],
[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
[rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
if test -d .libs; then
X  lt_cv_objdir=.libs
else
X  # MS-DOS does not allow filenames that begin with a dot.
X  lt_cv_objdir=_libs
fi
rmdir .libs 2>/dev/null])
objdir=$lt_cv_objdir
_LT_DECL([], [objdir], [0],
X         [The name of the directory that contains temporary libtool files])dnl
m4_pattern_allow([LT_OBJDIR])dnl
AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
X  [Define to the sub-directory in which libtool stores uninstalled libraries.])
])# _LT_CHECK_OBJDIR
X
X
# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
# --------------------------------------
# Check hardcoding attributes.
m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
[AC_MSG_CHECKING([how to hardcode library paths into programs])
_LT_TAGVAR(hardcode_action, $1)=
if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
X   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
X   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
X
X  # We can hardcode non-existent directories.
X  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
X     # If the only mechanism to avoid hardcoding is shlibpath_var, we
X     # have to relink, otherwise we might link with an installed library
X     # when we should be linking with a yet-to-be-installed one
X     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
X     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
X    # Linking always hardcodes the temporary library directory.
X    _LT_TAGVAR(hardcode_action, $1)=relink
X  else
X    # We can link without hardcoding, and we can hardcode nonexisting dirs.
X    _LT_TAGVAR(hardcode_action, $1)=immediate
X  fi
else
X  # We cannot hardcode anything, or else we can only hardcode existing
X  # directories.
X  _LT_TAGVAR(hardcode_action, $1)=unsupported
fi
AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
X
if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
X   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
X  # Fast installation is not supported
X  enable_fast_install=no
elif test "$shlibpath_overrides_runpath" = yes ||
X     test "$enable_shared" = no; then
X  # Fast installation is not necessary
X  enable_fast_install=needless
fi
_LT_TAGDECL([], [hardcode_action], [0],
X    [How to hardcode a shared library path into an executable])
])# _LT_LINKER_HARDCODE_LIBPATH
X
X
# _LT_CMD_STRIPLIB
# ----------------
m4_defun([_LT_CMD_STRIPLIB],
[m4_require([_LT_DECL_EGREP])
striplib=
old_striplib=
AC_MSG_CHECKING([whether stripping libraries is possible])
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
X  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
X  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
X  AC_MSG_RESULT([yes])
else
# FIXME - insert some real tests, host_os isn't really good enough
X  case $host_os in
X  darwin*)
X    if test -n "$STRIP" ; then
X      striplib="$STRIP -x"
X      old_striplib="$STRIP -S"
X      AC_MSG_RESULT([yes])
X    else
X      AC_MSG_RESULT([no])
X    fi
X    ;;
X  *)
X    AC_MSG_RESULT([no])
X    ;;
X  esac
fi
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
_LT_DECL([], [striplib], [1])
])# _LT_CMD_STRIPLIB
X
X
# _LT_SYS_DYNAMIC_LINKER([TAG])
# -----------------------------
# PORTME Fill in your ld.so characteristics
m4_defun([_LT_SYS_DYNAMIC_LINKER],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
m4_require([_LT_DECL_EGREP])dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_OBJDUMP])dnl
m4_require([_LT_DECL_SED])dnl
AC_MSG_CHECKING([dynamic linker characteristics])
m4_if([$1],
X	[], [
if test "$GCC" = yes; then
X  case $host_os in
X    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
X    *) lt_awk_arg="/^libraries:/" ;;
X  esac
X  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
X  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
X    # if the path contains ";" then we assume it to be the separator
X    # otherwise default to the standard path separator (i.e. ":") - it is
X    # assumed that no part of a normal pathname contains ";" but that should
X    # okay in the real world where ";" in dirpaths is itself problematic.
X    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
X  else
X    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
X  fi
X  # Ok, now we have the path, separated by spaces, we can step through it
X  # and add multilib dir if necessary.
X  lt_tmp_lt_search_path_spec=
X  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
X  for lt_sys_path in $lt_search_path_spec; do
X    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
X      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
X    else
X      test -d "$lt_sys_path" && \
X	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
X    fi
X  done
X  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
BEGIN {RS=" "; FS="/|\n";} {
X  lt_foo="";
X  lt_count=0;
X  for (lt_i = NF; lt_i > 0; lt_i--) {
X    if ($lt_i != "" && $lt_i != ".") {
X      if ($lt_i == "..") {
X        lt_count++;
X      } else {
X        if (lt_count == 0) {
X          lt_foo="/" $lt_i lt_foo;
X        } else {
X          lt_count--;
X        }
X      }
X    }
X  }
X  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
X  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
}'`
X  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
else
X  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
fi])
library_names_spec=
libname_spec='lib$name'
soname_spec=
shrext_cmds=".so"
postinstall_cmds=
postuninstall_cmds=
finish_cmds=
finish_eval=
shlibpath_var=
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
sys_lib_dlsearch_path_spec="/lib /usr/lib"
need_lib_prefix=unknown
hardcode_into_libs=no
X
# when you set need_version to no, make sure it does not cause -set_version
# flags to be left without arguments
need_version=unknown
X
case $host_os in
aix3*)
X  version_type=linux
X  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
X  shlibpath_var=LIBPATH
X
X  # AIX 3 has no versioning support, so we append a major version to the name.
X  soname_spec='${libname}${release}${shared_ext}$major'
X  ;;
X
aix[[4-9]]*)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  hardcode_into_libs=yes
X  if test "$host_cpu" = ia64; then
X    # AIX 5 supports IA64
X    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
X    shlibpath_var=LD_LIBRARY_PATH
X  else
X    # With GCC up to 2.95.x, collect2 would create an import file
X    # for dependence libraries.  The import file would start with
X    # the line `#! .'.  This would cause the generated library to
X    # depend on `.', always an invalid library.  This was fixed in
X    # development snapshots of GCC prior to 3.0.
X    case $host_os in
X      aix4 | aix4.[[01]] | aix4.[[01]].*)
X      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
X	   echo ' yes '
X	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
X	:
X      else
X	can_build_shared=no
X      fi
X      ;;
X    esac
X    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
X    # soname into executable. Probably we can add versioning support to
X    # collect2, so additional links can be useful in future.
X    if test "$aix_use_runtimelinking" = yes; then
X      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
X      # instead of lib<name>.a to let people know that these are not
X      # typical AIX shared libraries.
X      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X    else
X      # We preserve .a as extension for shared libraries through AIX4.2
X      # and later when we are not doing run time linking.
X      library_names_spec='${libname}${release}.a $libname.a'
X      soname_spec='${libname}${release}${shared_ext}$major'
X    fi
X    shlibpath_var=LIBPATH
X  fi
X  ;;
X
amigaos*)
X  case $host_cpu in
X  powerpc)
X    # Since July 2007 AmigaOS4 officially supports .so libraries.
X    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X    ;;
X  m68k)
X    library_names_spec='$libname.ixlibrary $libname.a'
X    # Create ${libname}_ixlibrary.a entries in /sys/libs.
X    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
X    ;;
X  esac
X  ;;
X
beos*)
X  library_names_spec='${libname}${shared_ext}'
X  dynamic_linker="$host_os ld.so"
X  shlibpath_var=LIBRARY_PATH
X  ;;
X
bsdi[[45]]*)
X  version_type=linux
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
X  shlibpath_var=LD_LIBRARY_PATH
X  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
X  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
X  # the default ld.so.conf also contains /usr/contrib/lib and
X  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
X  # libtool to hard-code these into programs
X  ;;
X
cygwin* | mingw* | pw32* | cegcc*)
X  version_type=windows
X  shrext_cmds=".dll"
X  need_version=no
X  need_lib_prefix=no
X
X  case $GCC,$host_os in
X  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
X    library_names_spec='$libname.dll.a'
X    # DLL is installed to $(libdir)/../bin by postinstall_cmds
X    postinstall_cmds='base_file=`basename \${file}`~
X      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
X      dldir=$destdir/`dirname \$dlpath`~
X      test -d \$dldir || mkdir -p \$dldir~
X      $install_prog $dir/$dlname \$dldir/$dlname~
X      chmod a+x \$dldir/$dlname~
X      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
X        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
X      fi'
X    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
X      dlpath=$dir/\$dldll~
X       $RM \$dlpath'
X    shlibpath_overrides_runpath=yes
X
X    case $host_os in
X    cygwin*)
X      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
X      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
X      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
X      ;;
X    mingw* | cegcc*)
X      # MinGW DLLs use traditional 'lib' prefix
X      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
X      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
X      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
X        # It is most probably a Windows format PATH printed by
X        # mingw gcc, but we are running on Cygwin. Gcc prints its search
X        # path with ; separators, and with drive letters. We can handle the
X        # drive letters (cygwin fileutils understands them), so leave them,
X        # especially as we might pass files found there to a mingw objdump,
X        # which wouldn't understand a cygwinified path. Ahh.
X        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
X      else
X        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
X      fi
X      ;;
X    pw32*)
X      # pw32 DLLs use 'pw' prefix rather than 'lib'
X      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
X      ;;
X    esac
X    ;;
X
X  *)
X    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
X    ;;
X  esac
X  dynamic_linker='Win32 ld.exe'
X  # FIXME: first we should search . and the directory the executable is in
X  shlibpath_var=PATH
X  ;;
X
darwin* | rhapsody*)
X  dynamic_linker="$host_os dyld"
X  version_type=darwin
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
X  soname_spec='${libname}${release}${major}$shared_ext'
X  shlibpath_overrides_runpath=yes
X  shlibpath_var=DYLD_LIBRARY_PATH
X  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
m4_if([$1], [],[
X  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
X  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
X  ;;
X
dgux*)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  ;;
X
freebsd1*)
X  dynamic_linker=no
X  ;;
X
freebsd* | dragonfly*)
X  # DragonFly does not have aout.  When/if they implement a new
X  # versioning mechanism, adjust this.
X  if test -x /usr/bin/objformat; then
X    objformat=`/usr/bin/objformat`
X  else
X    case $host_os in
X    freebsd[[123]]*) objformat=aout ;;
X    *) objformat=elf ;;
X    esac
X  fi
X  version_type=freebsd-$objformat
X  case $version_type in
X    freebsd-elf*)
X      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
X      need_version=no
X      need_lib_prefix=no
X      ;;
X    freebsd-*)
X      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
X      need_version=yes
X      ;;
X  esac
X  shlibpath_var=LD_LIBRARY_PATH
X  case $host_os in
X  freebsd2*)
X    shlibpath_overrides_runpath=yes
X    ;;
X  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
X    shlibpath_overrides_runpath=yes
X    hardcode_into_libs=yes
X    ;;
X  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
X  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
X    shlibpath_overrides_runpath=no
X    hardcode_into_libs=yes
X    ;;
X  *) # from 4.6 on, and DragonFly
X    shlibpath_overrides_runpath=yes
X    hardcode_into_libs=yes
X    ;;
X  esac
X  ;;
X
gnu*)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  hardcode_into_libs=yes
X  ;;
X
hpux9* | hpux10* | hpux11*)
X  # Give a soname corresponding to the major version so that dld.sl refuses to
X  # link against other versions.
X  version_type=sunos
X  need_lib_prefix=no
X  need_version=no
X  case $host_cpu in
X  ia64*)
X    shrext_cmds='.so'
X    hardcode_into_libs=yes
X    dynamic_linker="$host_os dld.so"
X    shlibpath_var=LD_LIBRARY_PATH
X    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X    soname_spec='${libname}${release}${shared_ext}$major'
X    if test "X$HPUX_IA64_MODE" = X32; then
X      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
X    else
X      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
X    fi
X    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
X    ;;
X  hppa*64*)
X    shrext_cmds='.sl'
X    hardcode_into_libs=yes
X    dynamic_linker="$host_os dld.sl"
X    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
X    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X    soname_spec='${libname}${release}${shared_ext}$major'
X    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
X    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
X    ;;
X  *)
X    shrext_cmds='.sl'
X    dynamic_linker="$host_os dld.sl"
X    shlibpath_var=SHLIB_PATH
X    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X    soname_spec='${libname}${release}${shared_ext}$major'
X    ;;
X  esac
X  # HP-UX runs *really* slowly unless shared libraries are mode 555.
X  postinstall_cmds='chmod 555 $lib'
X  ;;
X
interix[[3-9]]*)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=no
X  hardcode_into_libs=yes
X  ;;
X
irix5* | irix6* | nonstopux*)
X  case $host_os in
X    nonstopux*) version_type=nonstopux ;;
X    *)
X	if test "$lt_cv_prog_gnu_ld" = yes; then
X		version_type=linux
X	else
X		version_type=irix
X	fi ;;
X  esac
X  need_lib_prefix=no
X  need_version=no
X  soname_spec='${libname}${release}${shared_ext}$major'
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
X  case $host_os in
X  irix5* | nonstopux*)
X    libsuff= shlibsuff=
X    ;;
X  *)
X    case $LD in # libtool.m4 will add one of these switches to LD
X    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
X      libsuff= shlibsuff= libmagic=32-bit;;
X    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
X      libsuff=32 shlibsuff=N32 libmagic=N32;;
X    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
X      libsuff=64 shlibsuff=64 libmagic=64-bit;;
X    *) libsuff= shlibsuff= libmagic=never-match;;
X    esac
X    ;;
X  esac
X  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
X  shlibpath_overrides_runpath=no
X  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
X  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
X  hardcode_into_libs=yes
X  ;;
X
# No shared lib support for Linux oldld, aout, or coff.
linux*oldld* | linux*aout* | linux*coff*)
X  dynamic_linker=no
X  ;;
X
# This must be Linux ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=no
X  # Some binutils ld are patched to set DT_RUNPATH
X  save_LDFLAGS=$LDFLAGS
X  save_libdir=$libdir
X  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
X       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
X  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
X    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
X       [shlibpath_overrides_runpath=yes])])
X  LDFLAGS=$save_LDFLAGS
X  libdir=$save_libdir
X
X  # This implies no fast_install, which is unacceptable.
X  # Some rework will be needed to allow for fast_install
X  # before this can be enabled.
X  hardcode_into_libs=yes
X
X  # Append ld.so.conf contents to the search path
X  if test -f /etc/ld.so.conf; then
X    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
X    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
X  fi
X
X  # We used to test for /lib/ld.so.1 and disable shared libraries on
X  # powerpc, because MkLinux only supported shared libraries with the
X  # GNU dynamic linker.  Since this was broken with cross compilers,
X  # most powerpc-linux boxes support dynamic linking these days and
X  # people can always --disable-shared, the test was removed, and we
X  # assume the GNU/Linux dynamic linker is in use.
X  dynamic_linker='GNU/Linux ld.so'
X  ;;
X
netbsdelf*-gnu)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=no
X  hardcode_into_libs=yes
X  dynamic_linker='NetBSD ld.elf_so'
X  ;;
X
netbsd*)
X  version_type=sunos
X  need_lib_prefix=no
X  need_version=no
X  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
X    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X    dynamic_linker='NetBSD (a.out) ld.so'
X  else
X    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
X    soname_spec='${libname}${release}${shared_ext}$major'
X    dynamic_linker='NetBSD ld.elf_so'
X  fi
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=yes
X  hardcode_into_libs=yes
X  ;;
X
newsos6)
X  version_type=linux
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=yes
X  ;;
X
*nto* | *qnx*)
X  version_type=qnx
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=no
X  hardcode_into_libs=yes
X  dynamic_linker='ldqnx.so'
X  ;;
X
openbsd*)
X  version_type=sunos
X  sys_lib_dlsearch_path_spec="/usr/lib"
X  need_lib_prefix=no
X  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
X  case $host_os in
X    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
X    *)				need_version=no  ;;
X  esac
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
X  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
X  shlibpath_var=LD_LIBRARY_PATH
X  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
X    case $host_os in
X      openbsd2.[[89]] | openbsd2.[[89]].*)
X	shlibpath_overrides_runpath=no
X	;;
X      *)
X	shlibpath_overrides_runpath=yes
X	;;
X      esac
X  else
X    shlibpath_overrides_runpath=yes
X  fi
X  ;;
X
os2*)
X  libname_spec='$name'
X  shrext_cmds=".dll"
X  need_lib_prefix=no
X  library_names_spec='$libname${shared_ext} $libname.a'
X  dynamic_linker='OS/2 ld.exe'
X  shlibpath_var=LIBPATH
X  ;;
X
osf3* | osf4* | osf5*)
X  version_type=osf
X  need_lib_prefix=no
X  need_version=no
X  soname_spec='${libname}${release}${shared_ext}$major'
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  shlibpath_var=LD_LIBRARY_PATH
X  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
X  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
X  ;;
X
rdos*)
X  dynamic_linker=no
X  ;;
X
solaris*)
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=yes
X  hardcode_into_libs=yes
X  # ldd complains unless libraries are executable
X  postinstall_cmds='chmod +x $lib'
X  ;;
X
sunos4*)
X  version_type=sunos
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
X  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=yes
X  if test "$with_gnu_ld" = yes; then
X    need_lib_prefix=no
X  fi
X  need_version=yes
X  ;;
X
sysv4 | sysv4.3*)
X  version_type=linux
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  case $host_vendor in
X    sni)
X      shlibpath_overrides_runpath=no
X      need_lib_prefix=no
X      runpath_var=LD_RUN_PATH
X      ;;
X    siemens)
X      need_lib_prefix=no
X      ;;
X    motorola)
X      need_lib_prefix=no
X      need_version=no
X      shlibpath_overrides_runpath=no
X      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
X      ;;
X  esac
X  ;;
X
sysv4*MP*)
X  if test -d /usr/nec ;then
X    version_type=linux
X    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
X    soname_spec='$libname${shared_ext}.$major'
X    shlibpath_var=LD_LIBRARY_PATH
X  fi
X  ;;
X
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
X  version_type=freebsd-elf
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=yes
X  hardcode_into_libs=yes
X  if test "$with_gnu_ld" = yes; then
X    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
X  else
X    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
X    case $host_os in
X      sco3.2v5*)
X        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
X	;;
X    esac
X  fi
X  sys_lib_dlsearch_path_spec='/usr/lib'
X  ;;
X
tpf*)
X  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
X  version_type=linux
X  need_lib_prefix=no
X  need_version=no
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  shlibpath_var=LD_LIBRARY_PATH
X  shlibpath_overrides_runpath=no
X  hardcode_into_libs=yes
X  ;;
X
uts4*)
X  version_type=linux
X  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
X  soname_spec='${libname}${release}${shared_ext}$major'
X  shlibpath_var=LD_LIBRARY_PATH
X  ;;
X
*)
X  dynamic_linker=no
X  ;;
esac
AC_MSG_RESULT([$dynamic_linker])
test "$dynamic_linker" = no && can_build_shared=no
X
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
if test "$GCC" = yes; then
X  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
fi
X
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
X  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
fi
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
X  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
fi
X
_LT_DECL([], [variables_saved_for_relink], [1],
X    [Variables whose values should be saved in libtool wrapper scripts and
X    restored at link time])
_LT_DECL([], [need_lib_prefix], [0],
X    [Do we need the "lib" prefix for modules?])
_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
_LT_DECL([], [version_type], [0], [Library versioning type])
_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
_LT_DECL([], [shlibpath_overrides_runpath], [0],
X    [Is shlibpath searched before the hard-coded library search path?])
_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
_LT_DECL([], [library_names_spec], [1],
X    [[List of archive names.  First name is the real one, the rest are links.
X    The last name is the one that the linker finds with -lNAME]])
_LT_DECL([], [soname_spec], [1],
X    [[The coded name of the library, if different from the real name]])
_LT_DECL([], [postinstall_cmds], [2],
X    [Command to use after installation of a shared archive])
_LT_DECL([], [postuninstall_cmds], [2],
X    [Command to use after uninstallation of a shared archive])
_LT_DECL([], [finish_cmds], [2],
X    [Commands used to finish a libtool library installation in a directory])
_LT_DECL([], [finish_eval], [1],
X    [[As "finish_cmds", except a single script fragment to be evaled but
X    not shown]])
_LT_DECL([], [hardcode_into_libs], [0],
X    [Whether we should hardcode library paths into libraries])
_LT_DECL([], [sys_lib_search_path_spec], [2],
X    [Compile-time system search path for libraries])
_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
X    [Run-time system search path for libraries])
])# _LT_SYS_DYNAMIC_LINKER
X
X
# _LT_PATH_TOOL_PREFIX(TOOL)
# --------------------------
# find a file program which can recognize shared library
AC_DEFUN([_LT_PATH_TOOL_PREFIX],
[m4_require([_LT_DECL_EGREP])dnl
AC_MSG_CHECKING([for $1])
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
[case $MAGIC_CMD in
[[\\/*] |  ?:[\\/]*])
X  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
X  ;;
*)
X  lt_save_MAGIC_CMD="$MAGIC_CMD"
X  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
dnl $ac_dummy forces splitting on constant user-supplied paths.
dnl POSIX.2 word splitting is done only on the output of word expansions,
dnl not every word.  This closes a longstanding sh security hole.
X  ac_dummy="m4_if([$2], , $PATH, [$2])"
X  for ac_dir in $ac_dummy; do
X    IFS="$lt_save_ifs"
X    test -z "$ac_dir" && ac_dir=.
X    if test -f $ac_dir/$1; then
X      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
X      if test -n "$file_magic_test_file"; then
X	case $deplibs_check_method in
X	"file_magic "*)
X	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
X	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
X	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
X	    $EGREP "$file_magic_regex" > /dev/null; then
X	    :
X	  else
X	    cat <<_LT_EOF 1>&2
X
*** Warning: the command libtool uses to detect shared libraries,
*** $file_magic_cmd, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** bug-libtool@gnu.org
X
_LT_EOF
X	  fi ;;
X	esac
X      fi
X      break
X    fi
X  done
X  IFS="$lt_save_ifs"
X  MAGIC_CMD="$lt_save_MAGIC_CMD"
X  ;;
esac])
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC_CMD"; then
X  AC_MSG_RESULT($MAGIC_CMD)
else
X  AC_MSG_RESULT(no)
fi
_LT_DECL([], [MAGIC_CMD], [0],
X	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
])# _LT_PATH_TOOL_PREFIX
X
# Old name:
AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
X
X
# _LT_PATH_MAGIC
# --------------
# find a file program which can recognize a shared library
m4_defun([_LT_PATH_MAGIC],
[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
if test -z "$lt_cv_path_MAGIC_CMD"; then
X  if test -n "$ac_tool_prefix"; then
X    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
X  else
X    MAGIC_CMD=:
X  fi
fi
])# _LT_PATH_MAGIC
X
X
# LT_PATH_LD
# ----------
# find the pathname to the GNU or non-GNU linker
AC_DEFUN([LT_PATH_LD],
[AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
m4_require([_LT_DECL_SED])dnl
m4_require([_LT_DECL_EGREP])dnl
X
AC_ARG_WITH([gnu-ld],
X    [AS_HELP_STRING([--with-gnu-ld],
X	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
X    [test "$withval" = no || with_gnu_ld=yes],
X    [with_gnu_ld=no])dnl
X
ac_prog=ld
if test "$GCC" = yes; then
X  # Check if gcc -print-prog-name=ld gives a path.
X  AC_MSG_CHECKING([for ld used by $CC])
X  case $host in
X  *-*-mingw*)
X    # gcc leaves a trailing carriage return which upsets mingw
X    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
X  *)
X    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
X  esac
X  case $ac_prog in
X    # Accept absolute paths.
X    [[\\/]]* | ?:[[\\/]]*)
X      re_direlt='/[[^/]][[^/]]*/\.\./'
X      # Canonicalize the pathname of ld
X      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
X      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
X	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
X      done
X      test -z "$LD" && LD="$ac_prog"
X      ;;
X  "")
X    # If it fails, then pretend we aren't using GCC.
X    ac_prog=ld
X    ;;
X  *)
X    # If it is relative, then search for the first ld in PATH.
X    with_gnu_ld=unknown
X    ;;
X  esac
elif test "$with_gnu_ld" = yes; then
X  AC_MSG_CHECKING([for GNU ld])
else
X  AC_MSG_CHECKING([for non-GNU ld])
fi
AC_CACHE_VAL(lt_cv_path_LD,
[if test -z "$LD"; then
X  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
X  for ac_dir in $PATH; do
X    IFS="$lt_save_ifs"
X    test -z "$ac_dir" && ac_dir=.
X    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
X      lt_cv_path_LD="$ac_dir/$ac_prog"
X      # Check to see if the program is GNU ld.  I'd rather use --version,
X      # but apparently some variants of GNU ld only accept -v.
X      # Break only if it was the GNU/non-GNU ld that we prefer.
X      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
X      *GNU* | *'with BFD'*)
X	test "$with_gnu_ld" != no && break
X	;;
X      *)
X	test "$with_gnu_ld" != yes && break
X	;;
X      esac
X    fi
X  done
X  IFS="$lt_save_ifs"
else
X  lt_cv_path_LD="$LD" # Let the user override the test with a path.
fi])
LD="$lt_cv_path_LD"
if test -n "$LD"; then
X  AC_MSG_RESULT($LD)
else
X  AC_MSG_RESULT(no)
fi
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
_LT_PATH_LD_GNU
AC_SUBST([LD])
X
_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
])# LT_PATH_LD
X
# Old names:
AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_PROG_LD], [])
dnl AC_DEFUN([AC_PROG_LD], [])
X
X
# _LT_PATH_LD_GNU
#- --------------
m4_defun([_LT_PATH_LD_GNU],
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
[# I'd rather use --version here, but apparently some GNU lds only accept -v.
case `$LD -v 2>&1 </dev/null` in
*GNU* | *'with BFD'*)
X  lt_cv_prog_gnu_ld=yes
X  ;;
*)
X  lt_cv_prog_gnu_ld=no
X  ;;
esac])
with_gnu_ld=$lt_cv_prog_gnu_ld
])# _LT_PATH_LD_GNU
X
X
# _LT_CMD_RELOAD
# --------------
# find reload flag for linker
#   -- PORTME Some linkers may need a different reload flag.
m4_defun([_LT_CMD_RELOAD],
[AC_CACHE_CHECK([for $LD option to reload object files],
X  lt_cv_ld_reload_flag,
X  [lt_cv_ld_reload_flag='-r'])
reload_flag=$lt_cv_ld_reload_flag
case $reload_flag in
"" | " "*) ;;
*) reload_flag=" $reload_flag" ;;
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
X  darwin*)
X    if test "$GCC" = yes; then
X      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
X    else
X      reload_cmds='$LD$reload_flag -o $output$reload_objs'
X    fi
X    ;;
esac
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
_LT_DECL([], [reload_cmds], [2])dnl
])# _LT_CMD_RELOAD
X
X
# _LT_CHECK_MAGIC_METHOD
# ----------------------
# how to check for library dependencies
#  -- PORTME fill in with the dynamic library characteristics
m4_defun([_LT_CHECK_MAGIC_METHOD],
[m4_require([_LT_DECL_EGREP])
m4_require([_LT_DECL_OBJDUMP])
AC_CACHE_CHECK([how to recognize dependent libraries],
lt_cv_deplibs_check_method,
[lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support
# interlibrary dependencies.
# 'none' -- dependencies not supported.
# `unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks.
# 'test_compile' -- check by making test program.
# 'file_magic [[regex]]' -- check by looking for files in library path
# which responds to the $file_magic_cmd with a given extended regex.
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.
X
case $host_os in
aix[[4-9]]*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
beos*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
bsdi[[45]]*)
X  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
X  lt_cv_file_magic_cmd='/usr/bin/file -L'
X  lt_cv_file_magic_test_file=/shlib/libc.so
X  ;;
X
cygwin*)
X  # func_win32_libid is a shell function defined in ltmain.sh
X  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
X  lt_cv_file_magic_cmd='func_win32_libid'
X  ;;
X
mingw* | pw32*)
X  # Base MSYS/MinGW do not provide the 'file' command needed by
X  # func_win32_libid shell function, so use a weaker test based on 'objdump',
X  # unless we find 'file', for example because we are cross-compiling.
X  if ( file / ) >/dev/null 2>&1; then
X    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
X    lt_cv_file_magic_cmd='func_win32_libid'
X  else
X    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
X    lt_cv_file_magic_cmd='$OBJDUMP -f'
X  fi
X  ;;
X
cegcc)
X  # use the weaker test based on 'objdump'. See mingw*.
X  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
X  lt_cv_file_magic_cmd='$OBJDUMP -f'
X  ;;
X
darwin* | rhapsody*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
freebsd* | dragonfly*)
X  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
X    case $host_cpu in
X    i*86 )
X      # Not sure whether the presence of OpenBSD here was a mistake.
X      # Let's accept both of them until this is cleared up.
X      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
X      lt_cv_file_magic_cmd=/usr/bin/file
X      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
X      ;;
X    esac
X  else
X    lt_cv_deplibs_check_method=pass_all
X  fi
X  ;;
X
gnu*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
hpux10.20* | hpux11*)
X  lt_cv_file_magic_cmd=/usr/bin/file
X  case $host_cpu in
X  ia64*)
X    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
X    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
X    ;;
X  hppa*64*)
X    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
X    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
X    ;;
X  *)
X    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
X    lt_cv_file_magic_test_file=/usr/lib/libc.sl
X    ;;
X  esac
X  ;;
X
interix[[3-9]]*)
X  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
X  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
X  ;;
X
irix5* | irix6* | nonstopux*)
X  case $LD in
X  *-32|*"-32 ") libmagic=32-bit;;
X  *-n32|*"-n32 ") libmagic=N32;;
X  *-64|*"-64 ") libmagic=64-bit;;
X  *) libmagic=never-match;;
X  esac
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
# This must be Linux ELF.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
netbsd* | netbsdelf*-gnu)
X  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
X    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
X  else
X    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
X  fi
X  ;;
X
newos6*)
X  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
X  lt_cv_file_magic_cmd=/usr/bin/file
X  lt_cv_file_magic_test_file=/usr/lib/libnls.so
X  ;;
X
*nto* | *qnx*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
openbsd*)
X  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
X    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
X  else
X    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
X  fi
X  ;;
X
osf3* | osf4* | osf5*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
rdos*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
solaris*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
X
sysv4 | sysv4.3*)
X  case $host_vendor in
X  motorola)
X    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
X    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
X    ;;
X  ncr)
X    lt_cv_deplibs_check_method=pass_all
X    ;;
X  sequent)
X    lt_cv_file_magic_cmd='/bin/file'
X    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
X    ;;
X  sni)
X    lt_cv_file_magic_cmd='/bin/file'
X    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
X    lt_cv_file_magic_test_file=/lib/libc.so
X    ;;
X  siemens)
X    lt_cv_deplibs_check_method=pass_all
X    ;;
X  pc)
X    lt_cv_deplibs_check_method=pass_all
X    ;;
X  esac
X  ;;
X
tpf*)
X  lt_cv_deplibs_check_method=pass_all
X  ;;
esac
])
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown
X
_LT_DECL([], [deplibs_check_method], [1],
X    [Method to check whether dependent libraries are shared objects])
_LT_DECL([], [file_magic_cmd], [1],
X    [Command to use when deplibs_check_method == "file_magic"])
])# _LT_CHECK_MAGIC_METHOD
X
X
# LT_PATH_NM
# ----------
# find the pathname to a BSD- or MS-compatible name lister
AC_DEFUN([LT_PATH_NM],
[AC_REQUIRE([AC_PROG_CC])dnl
AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
[if test -n "$NM"; then
X  # Let the user override the test.
X  lt_cv_path_NM="$NM"
else
X  lt_nm_to_check="${ac_tool_prefix}nm"
X  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
X    lt_nm_to_check="$lt_nm_to_check nm"
X  fi
X  for lt_tmp_nm in $lt_nm_to_check; do
X    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
X    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
X      IFS="$lt_save_ifs"
X      test -z "$ac_dir" && ac_dir=.
X      tmp_nm="$ac_dir/$lt_tmp_nm"
X      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
X	# Check to see if the nm accepts a BSD-compat flag.
X	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
X	#   nm: unknown option "B" ignored
X	# Tru64's nm complains that /dev/null is an invalid object file
X	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
X	*/dev/null* | *'Invalid file or object type'*)
X	  lt_cv_path_NM="$tmp_nm -B"
X	  break
X	  ;;
X	*)
X	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
X	  */dev/null*)
X	    lt_cv_path_NM="$tmp_nm -p"
X	    break
X	    ;;
X	  *)
X	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
X	    continue # so that we can try to find one that supports BSD flags
X	    ;;
X	  esac
X	  ;;
X	esac
X      fi
X    done
X    IFS="$lt_save_ifs"
X  done
X  : ${lt_cv_path_NM=no}
fi])
if test "$lt_cv_path_NM" != "no"; then
X  NM="$lt_cv_path_NM"
else
X  # Didn't find any BSD compatible name lister, look for dumpbin.
X  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
X  AC_SUBST([DUMPBIN])
X  if test "$DUMPBIN" != ":"; then
X    NM="$DUMPBIN"
X  fi
fi
test -z "$NM" && NM=nm
AC_SUBST([NM])
_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
X
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
X  [lt_cv_nm_interface="BSD nm"
X  echo "int some_variable = 0;" > conftest.$ac_ext
X  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
X  (eval "$ac_compile" 2>conftest.err)
X  cat conftest.err >&AS_MESSAGE_LOG_FD
X  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
X  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
X  cat conftest.err >&AS_MESSAGE_LOG_FD
X  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
X  cat conftest.out >&AS_MESSAGE_LOG_FD
X  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
X    lt_cv_nm_interface="MS dumpbin"
X  fi
X  rm -f conftest*])
])# LT_PATH_NM
X
# Old names:
AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AM_PROG_NM], [])
dnl AC_DEFUN([AC_PROG_NM], [])
X
X
# LT_LIB_M
# --------
# check for math library
AC_DEFUN([LT_LIB_M],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
case $host in
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
X  # These system don't have libm, or don't need it
X  ;;
*-ncr-sysv4.3*)
X  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
X  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
X  ;;
*)
X  AC_CHECK_LIB(m, cos, LIBM="-lm")
X  ;;
esac
AC_SUBST([LIBM])
])# LT_LIB_M
X
# Old name:
AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([AC_CHECK_LIBM], [])
X
X
# _LT_COMPILER_NO_RTTI([TAGNAME])
# -------------------------------
m4_defun([_LT_COMPILER_NO_RTTI],
[m4_require([_LT_TAG_COMPILER])dnl
X
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
X
if test "$GCC" = yes; then
X  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
X
X  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
X    lt_cv_prog_compiler_rtti_exceptions,
X    [-fno-rtti -fno-exceptions], [],
X    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
fi
_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
X	[Compiler flag to turn off builtin functions])
])# _LT_COMPILER_NO_RTTI
X
X
# _LT_CMD_GLOBAL_SYMBOLS
# ----------------------
m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([LT_PATH_NM])dnl
AC_REQUIRE([LT_PATH_LD])dnl
m4_require([_LT_DECL_SED])dnl
m4_require([_LT_DECL_EGREP])dnl
m4_require([_LT_TAG_COMPILER])dnl
X
# Check for command to grab the raw symbol name followed by C symbol from nm.
AC_MSG_CHECKING([command to parse $NM output from $compiler object])
AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
[
# These are sane defaults that work on at least a few old systems.
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
X
# Character class describing NM global symbol codes.
symcode='[[BCDEGRST]]'
X
# Regexp to match symbols that can be accessed directly from C.
sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
X
# Define system-specific variables.
case $host_os in
aix*)
X  symcode='[[BCDT]]'
X  ;;
cygwin* | mingw* | pw32* | cegcc*)
X  symcode='[[ABCDGISTW]]'
X  ;;
hpux*)
X  if test "$host_cpu" = ia64; then
X    symcode='[[ABCDEGRST]]'
X  fi
X  ;;
irix* | nonstopux*)
X  symcode='[[BCDEGRST]]'
X  ;;
osf*)
X  symcode='[[BCDEGQRST]]'
X  ;;
solaris*)
X  symcode='[[BDRT]]'
X  ;;
sco3.2v5*)
X  symcode='[[DT]]'
X  ;;
sysv4.2uw2*)
X  symcode='[[DT]]'
X  ;;
sysv5* | sco5v6* | unixware* | OpenUNIX*)
X  symcode='[[ABDT]]'
X  ;;
sysv4)
X  symcode='[[DFNSTU]]'
X  ;;
esac
X
# If we're using GNU nm, then use its standard symbol codes.
case `$NM -V 2>&1` in
*GNU* | *'with BFD'*)
X  symcode='[[ABCDGIRSTW]]' ;;
esac
X
# Transform an extracted symbol line into a proper C declaration.
# Some systems (esp. on ia64) link data and code symbols differently,
# so use this general approach.
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
X
# Transform an extracted symbol line into symbol name and symbol address
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
X
# Handle CRLF in mingw tool chain
opt_cr=
case $build_os in
mingw*)
X  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
X  ;;
esac
X
# Try without a prefix underscore, then with it.
for ac_symprfx in "" "_"; do
X
X  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
X  symxfrm="\\1 $ac_symprfx\\2 \\2"
X
X  # Write the raw and C identifiers.
X  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
X    # Fake it for dumpbin and say T for any non-static function
X    # and D for any global variable.
X    # Also find C++ and __fastcall symbols from MSVC++,
X    # which start with @ or ?.
X    lt_cv_sys_global_symbol_pipe="$AWK ['"\
"     {last_section=section; section=\$ 3};"\
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
"     \$ 0!~/External *\|/{next};"\
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
"     {if(hide[section]) next};"\
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
"     ' prfx=^$ac_symprfx]"
X  else
X    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
X  fi
X
X  # Check to see that the pipe works correctly.
X  pipe_works=no
X
X  rm -f conftest*
X  cat > conftest.$ac_ext <<_LT_EOF
#ifdef __cplusplus
extern "C" {
#endif
char nm_test_var;
void nm_test_func(void);
void nm_test_func(void){}
#ifdef __cplusplus
}
#endif
int main(){nm_test_var='a';nm_test_func();return(0);}
_LT_EOF
X
X  if AC_TRY_EVAL(ac_compile); then
X    # Now try to grab the symbols.
X    nlist=conftest.nm
X    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
X      # Try sorting and uniquifying the output.
X      if sort "$nlist" | uniq > "$nlist"T; then
X	mv -f "$nlist"T "$nlist"
X      else
X	rm -f "$nlist"T
X      fi
X
X      # Make sure that we snagged all the symbols we need.
X      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
X	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
X	  cat <<_LT_EOF > conftest.$ac_ext
#ifdef __cplusplus
extern "C" {
#endif
X
_LT_EOF
X	  # Now generate the symbol file.
X	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
X
X	  cat <<_LT_EOF >> conftest.$ac_ext
X
/* The mapping between symbol names and symbols.  */
const struct {
X  const char *name;
X  void       *address;
}
lt__PROGRAM__LTX_preloaded_symbols[[]] =
{
X  { "@PROGRAM@", (void *) 0 },
_LT_EOF
X	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
X	  cat <<\_LT_EOF >> conftest.$ac_ext
X  {0, (void *) 0}
};
X
/* This works around a problem in FreeBSD linker */
#ifdef FREEBSD_WORKAROUND
static const void *lt_preloaded_setup() {
X  return lt__PROGRAM__LTX_preloaded_symbols;
}
#endif
X
#ifdef __cplusplus
}
#endif
_LT_EOF
X	  # Now try linking the two files.
X	  mv conftest.$ac_objext conftstm.$ac_objext
X	  lt_save_LIBS="$LIBS"
X	  lt_save_CFLAGS="$CFLAGS"
X	  LIBS="conftstm.$ac_objext"
X	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
X	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
X	    pipe_works=yes
X	  fi
X	  LIBS="$lt_save_LIBS"
X	  CFLAGS="$lt_save_CFLAGS"
X	else
X	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
X	fi
X      else
X	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
X      fi
X    else
X      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
X    fi
X  else
X    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
X    cat conftest.$ac_ext >&5
X  fi
X  rm -rf conftest* conftst*
X
X  # Do not use the global_symbol_pipe unless it works.
X  if test "$pipe_works" = yes; then
X    break
X  else
X    lt_cv_sys_global_symbol_pipe=
X  fi
done
])
if test -z "$lt_cv_sys_global_symbol_pipe"; then
X  lt_cv_sys_global_symbol_to_cdecl=
fi
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
X  AC_MSG_RESULT(failed)
else
X  AC_MSG_RESULT(ok)
fi
X
_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
X    [Take the output of nm and produce a listing of raw symbols and C names])
_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
X    [Transform the output of nm in a proper C declaration])
_LT_DECL([global_symbol_to_c_name_address],
X    [lt_cv_sys_global_symbol_to_c_name_address], [1],
X    [Transform the output of nm in a C name address pair])
_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
X    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
X    [Transform the output of nm in a C name address pair when lib prefix is needed])
]) # _LT_CMD_GLOBAL_SYMBOLS
X
X
# _LT_COMPILER_PIC([TAGNAME])
# ---------------------------
m4_defun([_LT_COMPILER_PIC],
[m4_require([_LT_TAG_COMPILER])dnl
_LT_TAGVAR(lt_prog_compiler_wl, $1)=
_LT_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_TAGVAR(lt_prog_compiler_static, $1)=
X
AC_MSG_CHECKING([for $compiler option to produce PIC])
m4_if([$1], [CXX], [
X  # C++ specific cases for pic, static, wl, etc.
X  if test "$GXX" = yes; then
X    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X
X    case $host_os in
X    aix*)
X      # All AIX code is PIC.
X      if test "$host_cpu" = ia64; then
X	# AIX 5 now supports IA64 processor
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      fi
X      ;;
X
X    amigaos*)
X      case $host_cpu in
X      powerpc)
X            # see comment about AmigaOS4 .so support
X            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X        ;;
X      m68k)
X            # FIXME: we need at least 68020 code to build shared libraries, but
X            # adding the `-m68020' flag to GCC prevents building anything better,
X            # like `-m68040'.
X            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
X        ;;
X      esac
X      ;;
X
X    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
X      # PIC is the default for these OSes.
X      ;;
X    mingw* | cygwin* | os2* | pw32* | cegcc*)
X      # This hack is so that the source file can tell whether it is being
X      # built for inclusion in a dll (and should export symbols for example).
X      # Although the cygwin gcc ignores -fPIC, still need this for old-style
X      # (--disable-auto-import) libraries
X      m4_if([$1], [GCJ], [],
X	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
X      ;;
X    darwin* | rhapsody*)
X      # PIC is the default on this platform
X      # Common symbols not allowed in MH_DYLIB files
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
X      ;;
X    *djgpp*)
X      # DJGPP does not support shared libraries at all
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
X      ;;
X    interix[[3-9]]*)
X      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
X      # Instead, we relocate shared libraries at runtime.
X      ;;
X    sysv4*MP*)
X      if test -d /usr/nec; then
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
X      fi
X      ;;
X    hpux*)
X      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
X      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
X      # sets the default TLS model and affects inlining.
X      case $host_cpu in
X      hppa*64*)
X	;;
X      *)
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X	;;
X      esac
X      ;;
X    *qnx* | *nto*)
X      # QNX uses GNU C++, but need to define -shared option too, otherwise
X      # it will coredump.
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
X      ;;
X    *)
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X      ;;
X    esac
X  else
X    case $host_os in
X      aix[[4-9]]*)
X	# All AIX code is PIC.
X	if test "$host_cpu" = ia64; then
X	  # AIX 5 now supports IA64 processor
X	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	else
X	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
X	fi
X	;;
X      chorus*)
X	case $cc_basename in
X	cxch68*)
X	  # Green Hills C++ Compiler
X	  # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
X	  ;;
X	esac
X	;;
X      dgux*)
X	case $cc_basename in
X	  ec++*)
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	    ;;
X	  ghcx*)
X	    # Green Hills C++ Compiler
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      freebsd* | dragonfly*)
X	# FreeBSD uses GNU C++
X	;;
X      hpux9* | hpux10* | hpux11*)
X	case $cc_basename in
X	  CC*)
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
X	    if test "$host_cpu" != ia64; then
X	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
X	    fi
X	    ;;
X	  aCC*)
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
X	    case $host_cpu in
X	    hppa*64*|ia64*)
X	      # +Z the default
X	      ;;
X	    *)
X	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
X	      ;;
X	    esac
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      interix*)
X	# This is c89, which is MS Visual C++ (no shared libs)
X	# Anyone wants to do a port?
X	;;
X      irix5* | irix6* | nonstopux*)
X	case $cc_basename in
X	  CC*)
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X	    # CC pic flag -KPIC is the default.
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      linux* | k*bsd*-gnu | kopensolaris*-gnu)
X	case $cc_basename in
X	  KCC*)
X	    # KAI C++ Compiler
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X	    ;;
X	  ecpc* )
X	    # old Intel C++ for x86_64 which still supported -KPIC.
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X	    ;;
X	  icpc* )
X	    # Intel C++, used to be incompatible with GCC.
X	    # ICC 10 doesn't accept -KPIC any more.
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X	    ;;
X	  pgCC* | pgcpp*)
X	    # Portland Group C++ compiler
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	    ;;
X	  cxx*)
X	    # Compaq C++
X	    # Make sure the PIC flag is empty.  It appears that all Alpha
X	    # Linux and Compaq Tru64 Unix objects are PIC.
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X	    ;;
X	  xlc* | xlC*)
X	    # IBM XL 8.0 on PPC
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
X	    ;;
X	  *)
X	    case `$CC -V 2>&1 | sed 5q` in
X	    *Sun\ C*)
X	      # Sun C++ 5.9
X	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
X	      ;;
X	    esac
X	    ;;
X	esac
X	;;
X      lynxos*)
X	;;
X      m88k*)
X	;;
X      mvs*)
X	case $cc_basename in
X	  cxx*)
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      netbsd* | netbsdelf*-gnu)
X	;;
X      *qnx* | *nto*)
X        # QNX uses GNU C++, but need to define -shared option too, otherwise
X        # it will coredump.
X        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
X        ;;
X      osf3* | osf4* | osf5*)
X	case $cc_basename in
X	  KCC*)
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
X	    ;;
X	  RCC*)
X	    # Rational C++ 2.4.1
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
X	    ;;
X	  cxx*)
X	    # Digital/Compaq C++
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    # Make sure the PIC flag is empty.  It appears that all Alpha
X	    # Linux and Compaq Tru64 Unix objects are PIC.
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      psos*)
X	;;
X      solaris*)
X	case $cc_basename in
X	  CC*)
X	    # Sun C++ 4.2, 5.x and Centerline C++
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
X	    ;;
X	  gcx*)
X	    # Green Hills C++ Compiler
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      sunos4*)
X	case $cc_basename in
X	  CC*)
X	    # Sun C++ 4.x
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	    ;;
X	  lcc*)
X	    # Lucid
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
X	case $cc_basename in
X	  CC*)
X	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	    ;;
X	esac
X	;;
X      tandem*)
X	case $cc_basename in
X	  NCC*)
X	    # NonStop-UX NCC 3.20
X	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	    ;;
X	  *)
X	    ;;
X	esac
X	;;
X      vxworks*)
X	;;
X      *)
X	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
X	;;
X    esac
X  fi
],
[
X  if test "$GCC" = yes; then
X    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X
X    case $host_os in
X      aix*)
X      # All AIX code is PIC.
X      if test "$host_cpu" = ia64; then
X	# AIX 5 now supports IA64 processor
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      fi
X      ;;
X
X    amigaos*)
X      case $host_cpu in
X      powerpc)
X            # see comment about AmigaOS4 .so support
X            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X        ;;
X      m68k)
X            # FIXME: we need at least 68020 code to build shared libraries, but
X            # adding the `-m68020' flag to GCC prevents building anything better,
X            # like `-m68040'.
X            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
X        ;;
X      esac
X      ;;
X
X    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
X      # PIC is the default for these OSes.
X      ;;
X
X    mingw* | cygwin* | pw32* | os2* | cegcc*)
X      # This hack is so that the source file can tell whether it is being
X      # built for inclusion in a dll (and should export symbols for example).
X      # Although the cygwin gcc ignores -fPIC, still need this for old-style
X      # (--disable-auto-import) libraries
X      m4_if([$1], [GCJ], [],
X	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
X      ;;
X
X    darwin* | rhapsody*)
X      # PIC is the default on this platform
X      # Common symbols not allowed in MH_DYLIB files
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
X      ;;
X
X    hpux*)
X      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
X      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
X      # sets the default TLS model and affects inlining.
X      case $host_cpu in
X      hppa*64*)
X	# +Z the default
X	;;
X      *)
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X	;;
X      esac
X      ;;
X
X    interix[[3-9]]*)
X      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
X      # Instead, we relocate shared libraries at runtime.
X      ;;
X
X    msdosdjgpp*)
X      # Just because we use GCC doesn't mean we suddenly get shared libraries
X      # on systems that don't support them.
X      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
X      enable_shared=no
X      ;;
X
X    *nto* | *qnx*)
X      # QNX uses GNU C++, but need to define -shared option too, otherwise
X      # it will coredump.
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
X      ;;
X
X    sysv4*MP*)
X      if test -d /usr/nec; then
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
X      fi
X      ;;
X
X    *)
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X      ;;
X    esac
X  else
X    # PORTME Check for flag to pass linker flags through the system compiler.
X    case $host_os in
X    aix*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      if test "$host_cpu" = ia64; then
X	# AIX 5 now supports IA64 processor
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      else
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
X      fi
X      ;;
X
X    mingw* | cygwin* | pw32* | os2* | cegcc*)
X      # This hack is so that the source file can tell whether it is being
X      # built for inclusion in a dll (and should export symbols for example).
X      m4_if([$1], [GCJ], [],
X	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
X      ;;
X
X    hpux9* | hpux10* | hpux11*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
X      # not for PA HP-UX.
X      case $host_cpu in
X      hppa*64*|ia64*)
X	# +Z the default
X	;;
X      *)
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
X	;;
X      esac
X      # Is there a better lt_prog_compiler_static that works with the bundled CC?
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
X      ;;
X
X    irix5* | irix6* | nonstopux*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      # PIC (with -KPIC) is the default.
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X      ;;
X
X    linux* | k*bsd*-gnu | kopensolaris*-gnu)
X      case $cc_basename in
X      # old Intel for x86_64 which still supported -KPIC.
X      ecc*)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X        ;;
X      # icc used to be incompatible with GCC.
X      # ICC 10 doesn't accept -KPIC any more.
X      icc* | ifort*)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
X        ;;
X      # Lahey Fortran 8.1.
X      lf95*)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
X	;;
X      pgcc* | pgf77* | pgf90* | pgf95*)
X        # Portland Group compilers (*not* the Pentium gcc compiler,
X	# which looks to be a dead project)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X        ;;
X      ccc*)
X        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X        # All Alpha code is PIC.
X        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X        ;;
X      xl*)
X	# IBM XL C 8.0/Fortran 10.1 on PPC
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
X	;;
X      *)
X	case `$CC -V 2>&1 | sed 5q` in
X	*Sun\ C*)
X	  # Sun C 5.9
X	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X	  ;;
X	*Sun\ F*)
X	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
X	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
X	  ;;
X	esac
X	;;
X      esac
X      ;;
X
X    newsos6)
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      ;;
X
X    *nto* | *qnx*)
X      # QNX uses GNU C++, but need to define -shared option too, otherwise
X      # it will coredump.
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
X      ;;
X
X    osf3* | osf4* | osf5*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      # All OSF/1 code is PIC.
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X      ;;
X
X    rdos*)
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
X      ;;
X
X    solaris*)
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      case $cc_basename in
X      f77* | f90* | f95*)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
X      *)
X	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
X      esac
X      ;;
X
X    sunos4*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      ;;
X
X    sysv4 | sysv4.2uw2* | sysv4.3*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      ;;
X
X    sysv4*MP*)
X      if test -d /usr/nec ;then
X	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
X	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      fi
X      ;;
X
X    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      ;;
X
X    unicos*)
X      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
X      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
X      ;;
X
X    uts4*)
X      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
X      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
X      ;;
X
X    *)
X      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
X      ;;
X    esac
X  fi
])
case $host_os in
X  # For platforms which do not support PIC, -DPIC is meaningless:
X  *djgpp*)
X    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
X    ;;
X  *)
X    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
X    ;;
esac
AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
X	[How to pass a linker flag through the compiler])
X
#
# Check to make sure the PIC flag actually works.
#
if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
X  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
X    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
X    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
X    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
X     "" | " "*) ;;
X     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
X     esac],
X    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
X     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
fi
_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
X	[Additional compiler flags for building library objects])
X
#
# Check to make sure the static flag actually works.
#
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
X  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
X  $lt_tmp_static_flag,
X  [],
X  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
X	[Compiler flag to prevent dynamic linking])
])# _LT_COMPILER_PIC
X
X
# _LT_LINKER_SHLIBS([TAGNAME])
# ----------------------------
# See if the linker supports building shared libraries.
m4_defun([_LT_LINKER_SHLIBS],
[AC_REQUIRE([LT_PATH_LD])dnl
AC_REQUIRE([LT_PATH_NM])dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_EGREP])dnl
m4_require([_LT_DECL_SED])dnl
m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
m4_require([_LT_TAG_COMPILER])dnl
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
m4_if([$1], [CXX], [
X  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
X  case $host_os in
X  aix[[4-9]]*)
X    # If we're using GNU nm, then we don't want the "-C" option.
X    # -C means demangle to AIX nm, but means don't demangle with GNU nm
X    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
X      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
X    else
X      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
X    fi
X    ;;
X  pw32*)
X    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
X  ;;
X  cygwin* | mingw* | cegcc*)
X    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
X  ;;
X  linux* | k*bsd*-gnu)
X    _LT_TAGVAR(link_all_deplibs, $1)=no
X  ;;
X  *)
X    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
X  ;;
X  esac
X  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
], [
X  runpath_var=
X  _LT_TAGVAR(allow_undefined_flag, $1)=
X  _LT_TAGVAR(always_export_symbols, $1)=no
X  _LT_TAGVAR(archive_cmds, $1)=
X  _LT_TAGVAR(archive_expsym_cmds, $1)=
X  _LT_TAGVAR(compiler_needs_object, $1)=no
X  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
X  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
X  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
X  _LT_TAGVAR(hardcode_automatic, $1)=no
X  _LT_TAGVAR(hardcode_direct, $1)=no
X  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
X  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
X  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
X  _LT_TAGVAR(hardcode_libdir_separator, $1)=
X  _LT_TAGVAR(hardcode_minus_L, $1)=no
X  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
X  _LT_TAGVAR(inherit_rpath, $1)=no
X  _LT_TAGVAR(link_all_deplibs, $1)=unknown
X  _LT_TAGVAR(module_cmds, $1)=
X  _LT_TAGVAR(module_expsym_cmds, $1)=
X  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
X  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
X  _LT_TAGVAR(thread_safe_flag_spec, $1)=
X  _LT_TAGVAR(whole_archive_flag_spec, $1)=
X  # include_expsyms should be a list of space-separated symbols to be *always*
X  # included in the symbol list
X  _LT_TAGVAR(include_expsyms, $1)=
X  # exclude_expsyms can be an extended regexp of symbols to exclude
X  # it will be wrapped by ` (' and `)$', so one must not match beginning or
X  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
X  # as well as any symbol that contains `d'.
X  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
X  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
X  # platforms (ab)use it in PIC code, but their linkers get confused if
X  # the symbol is explicitly referenced.  Since portable code cannot
X  # rely on this symbol name, it's probably fine to never include it in
X  # preloaded symbol tables.
X  # Exclude shared library initialization/finalization symbols.
dnl Note also adjust exclude_expsyms for C++ above.
X  extract_expsyms_cmds=
X
X  case $host_os in
X  cygwin* | mingw* | pw32* | cegcc*)
X    # FIXME: the MSVC++ port hasn't been tested in a loooong time
X    # When not using gcc, we currently assume that we are using
X    # Microsoft Visual C++.
X    if test "$GCC" != yes; then
X      with_gnu_ld=no
X    fi
X    ;;
X  interix*)
X    # we just hope/assume this is gcc and not c89 (= MSVC++)
X    with_gnu_ld=yes
X    ;;
X  openbsd*)
X    with_gnu_ld=no
X    ;;
X  linux* | k*bsd*-gnu)
X    _LT_TAGVAR(link_all_deplibs, $1)=no
X    ;;
X  esac
X
X  _LT_TAGVAR(ld_shlibs, $1)=yes
X  if test "$with_gnu_ld" = yes; then
X    # If archive_cmds runs LD, not CC, wlarc should be empty
X    wlarc='${wl}'
X
X    # Set some defaults for GNU ld with shared library support. These
X    # are reset later if shared libraries are not supported. Putting them
X    # here allows them to be overridden if necessary.
X    runpath_var=LD_RUN_PATH
X    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X    # ancient GNU ld didn't support --whole-archive et. al.
X    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
X      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
X    else
X      _LT_TAGVAR(whole_archive_flag_spec, $1)=
X    fi
X    supports_anon_versioning=no
X    case `$LD -v 2>&1` in
X      *GNU\ gold*) supports_anon_versioning=yes ;;
X      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
X      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
X      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
X      *\ 2.11.*) ;; # other 2.11 versions
X      *) supports_anon_versioning=yes ;;
X    esac
X
X    # See if GNU ld supports shared libraries.
X    case $host_os in
X    aix[[3-9]]*)
X      # On AIX/PPC, the GNU linker is very broken
X      if test "$host_cpu" != ia64; then
X	_LT_TAGVAR(ld_shlibs, $1)=no
X	cat <<_LT_EOF 1>&2
X
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
*** to be unable to reliably create shared libraries on AIX.
*** Therefore, libtool is disabling shared libraries support.  If you
*** really care for shared libraries, you may want to modify your PATH
*** so that a non-GNU linker is found, and then restart.
X
_LT_EOF
X      fi
X      ;;
X
X    amigaos*)
X      case $host_cpu in
X      powerpc)
X            # see comment about AmigaOS4 .so support
X            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X            _LT_TAGVAR(archive_expsym_cmds, $1)=''
X        ;;
X      m68k)
X            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
X            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X            _LT_TAGVAR(hardcode_minus_L, $1)=yes
X        ;;
X      esac
X      ;;
X
X    beos*)
X      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
X	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
X	# support --undefined.  This deserves some investigation.  FIXME
X	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X      else
X	_LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X
X    cygwin* | mingw* | pw32* | cegcc*)
X      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
X      # as there is no search path for DLLs.
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X      _LT_TAGVAR(always_export_symbols, $1)=no
X      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
X      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
X
X      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
X        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
X	# If the export-symbols file already is a .def file (1st line
X	# is EXPORTS), use it as is; otherwise, prepend...
X	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
X	  cp $export_symbols $output_objdir/$soname.def;
X	else
X	  echo EXPORTS > $output_objdir/$soname.def;
X	  cat $export_symbols >> $output_objdir/$soname.def;
X	fi~
X	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
X      else
X	_LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X
X    interix[[3-9]]*)
X      _LT_TAGVAR(hardcode_direct, $1)=no
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
X      # Instead, shared libraries are loaded at an image base (0x10000000 by
X      # default) and relocated if they conflict, which is a slow very memory
X      # consuming and fragmenting process.  To avoid this, we pick a random,
X      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
X      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
X      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
X      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
X      ;;
X
X    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
X      tmp_diet=no
X      if test "$host_os" = linux-dietlibc; then
X	case $cc_basename in
X	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
X	esac
X      fi
X      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
X	 && test "$tmp_diet" = no
X      then
X	tmp_addflag=
X	tmp_sharedflag='-shared'
X	case $cc_basename,$host_cpu in
X        pgcc*)				# Portland Group C compiler
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
X	  tmp_addflag=' $pic_flag'
X	  ;;
X	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
X	  tmp_addflag=' $pic_flag -Mnomain' ;;
X	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
X	  tmp_addflag=' -i_dynamic' ;;
X	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
X	  tmp_addflag=' -i_dynamic -nofor_main' ;;
X	ifc* | ifort*)			# Intel Fortran compiler
X	  tmp_addflag=' -nofor_main' ;;
X	lf95*)				# Lahey Fortran 8.1
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
X	  tmp_sharedflag='--shared' ;;
X	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
X	  tmp_sharedflag='-qmkshrobj'
X	  tmp_addflag= ;;
X	esac
X	case `$CC -V 2>&1 | sed 5q` in
X	*Sun\ C*)			# Sun C 5.9
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
X	  _LT_TAGVAR(compiler_needs_object, $1)=yes
X	  tmp_sharedflag='-G' ;;
X	*Sun\ F*)			# Sun Fortran 8.3
X	  tmp_sharedflag='-G' ;;
X	esac
X	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X
X        if test "x$supports_anon_versioning" = xyes; then
X          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
X	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
X	    echo "local: *; };" >> $output_objdir/$libname.ver~
X	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
X        fi
X
X	case $cc_basename in
X	xlf*)
X	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
X	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
X	  if test "x$supports_anon_versioning" = xyes; then
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
X	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
X	      echo "local: *; };" >> $output_objdir/$libname.ver~
X	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
X	  fi
X	  ;;
X	esac
X      else
X        _LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X
X    netbsd* | netbsdelf*-gnu)
X      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
X	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
X	wlarc=
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X      fi
X      ;;
X
X    solaris*)
X      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
X	_LT_TAGVAR(ld_shlibs, $1)=no
X	cat <<_LT_EOF 1>&2
X
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
*** create shared libraries on Solaris systems.  Therefore, libtool
*** is disabling shared libraries support.  We urge you to upgrade GNU
*** binutils to release 2.9.1 or newer.  Another option is to modify
*** your PATH or compiler configuration so that the native linker is
*** used, and then restart.
X
_LT_EOF
X      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X      else
X	_LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X
X    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
X      case `$LD -v 2>&1` in
X        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
X	_LT_TAGVAR(ld_shlibs, $1)=no
X	cat <<_LT_EOF 1>&2
X
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
*** reliably create shared libraries on SCO systems.  Therefore, libtool
*** is disabling shared libraries support.  We urge you to upgrade GNU
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
*** your PATH or compiler configuration so that the native linker is
*** used, and then restart.
X
_LT_EOF
X	;;
X	*)
X	  # For security reasons, it is highly recommended that you always
X	  # use absolute paths for naming shared libraries, and exclude the
X	  # DT_RUNPATH tag from executables and libraries.  But doing so
X	  # requires that you compile everything twice, which is a pain.
X	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X	  else
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	  fi
X	;;
X      esac
X      ;;
X
X    sunos4*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
X      wlarc=
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    *)
X      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X      else
X	_LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X    esac
X
X    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
X      runpath_var=
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
X      _LT_TAGVAR(whole_archive_flag_spec, $1)=
X    fi
X  else
X    # PORTME fill in a description of your system's linker (not GNU ld)
X    case $host_os in
X    aix3*)
X      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X      _LT_TAGVAR(always_export_symbols, $1)=yes
X      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
X      # Note: this linker hardcodes the directories in LIBPATH if there
X      # are no directories specified by -L.
X      _LT_TAGVAR(hardcode_minus_L, $1)=yes
X      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
X	# Neither direct hardcoding nor static linking is supported with a
X	# broken collect2.
X	_LT_TAGVAR(hardcode_direct, $1)=unsupported
X      fi
X      ;;
X
X    aix[[4-9]]*)
X      if test "$host_cpu" = ia64; then
X	# On IA64, the linker does run time linking by default, so we don't
X	# have to do anything special.
X	aix_use_runtimelinking=no
X	exp_sym_flag='-Bexport'
X	no_entry_flag=""
X      else
X	# If we're using GNU nm, then we don't want the "-C" option.
X	# -C means demangle to AIX nm, but means don't demangle with GNU nm
X	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
X	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
X	else
X	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
X	fi
X	aix_use_runtimelinking=no
X
X	# Test if we are trying to use run time linking or normal
X	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
X	# need to do runtime linking.
X	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
X	  for ld_flag in $LDFLAGS; do
X	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
X	    aix_use_runtimelinking=yes
X	    break
X	  fi
X	  done
X	  ;;
X	esac
X
X	exp_sym_flag='-bexport'
X	no_entry_flag='-bnoentry'
X      fi
X
X      # When large executables or shared objects are built, AIX ld can
X      # have problems creating the table of contents.  If linking a library
X      # or program results in "error TOC overflow" add -mminimal-toc to
X      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
X      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
X
X      _LT_TAGVAR(archive_cmds, $1)=''
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
X      _LT_TAGVAR(link_all_deplibs, $1)=yes
X      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
X
X      if test "$GCC" = yes; then
X	case $host_os in aix4.[[012]]|aix4.[[012]].*)
X	# We only want to do this on AIX 4.2 and lower, the check
X	# below for broken collect2 doesn't work under 4.3+
X	  collect2name=`${CC} -print-prog-name=collect2`
X	  if test -f "$collect2name" &&
X	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
X	  then
X	  # We have reworked collect2
X	  :
X	  else
X	  # We have old collect2
X	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
X	  # It fails to find uninstalled libraries when the uninstalled
X	  # path is not listed in the libpath.  Setting hardcode_minus_L
X	  # to unsupported forces relinking
X	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
X	  fi
X	  ;;
X	esac
X	shared_flag='-shared'
X	if test "$aix_use_runtimelinking" = yes; then
X	  shared_flag="$shared_flag "'${wl}-G'
X	fi
X	_LT_TAGVAR(link_all_deplibs, $1)=no
X      else
X	# not using gcc
X	if test "$host_cpu" = ia64; then
X	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
X	# chokes on -Wl,-G. The following line is correct:
X	  shared_flag='-G'
X	else
X	  if test "$aix_use_runtimelinking" = yes; then
X	    shared_flag='${wl}-G'
X	  else
X	    shared_flag='${wl}-bM:SRE'
X	  fi
X	fi
X      fi
X
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
X      # It seems that -bexpall does not export symbols beginning with
X      # underscore (_), so it is better to generate a list of symbols to export.
X      _LT_TAGVAR(always_export_symbols, $1)=yes
X      if test "$aix_use_runtimelinking" = yes; then
X	# Warning - without using the other runtime loading flags (-brtl),
X	# -berok will link without error, but may produce a broken library.
X	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
X        # Determine the default libpath from the value encoded in an
X        # empty executable.
X        _LT_SYS_MODULE_PATH_AIX
X        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
X        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
X      else
X	if test "$host_cpu" = ia64; then
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
X	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
X	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
X	else
X	 # Determine the default libpath from the value encoded in an
X	 # empty executable.
X	 _LT_SYS_MODULE_PATH_AIX
X	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
X	  # Warning - without using the other run time loading flags,
X	  # -berok will link without error, but may produce a broken library.
X	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
X	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
X	  # Exported symbols can be pulled into shared objects from archives
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
X	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
X	  # This is similar to how AIX traditionally builds its shared libraries.
X	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
X	fi
X      fi
X      ;;
X
X    amigaos*)
X      case $host_cpu in
X      powerpc)
X            # see comment about AmigaOS4 .so support
X            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X            _LT_TAGVAR(archive_expsym_cmds, $1)=''
X        ;;
X      m68k)
X            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
X            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X            _LT_TAGVAR(hardcode_minus_L, $1)=yes
X        ;;
X      esac
X      ;;
X
X    bsdi[[45]]*)
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
X      ;;
X
X    cygwin* | mingw* | pw32* | cegcc*)
X      # When not using gcc, we currently assume that we are using
X      # Microsoft Visual C++.
X      # hardcode_libdir_flag_spec is actually meaningless, as there is
X      # no search path for DLLs.
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
X      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X      # Tell ltmain to make .lib files, not .a files.
X      libext=lib
X      # Tell ltmain to make .dll files, not .so files.
X      shrext_cmds=".dll"
X      # FIXME: Setting linknames here is a bad hack.
X      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
X      # The linker will automatically build a .lib file if we build a DLL.
X      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
X      # FIXME: Should let the user specify the lib program.
X      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
X      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
X      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
X      ;;
X
X    darwin* | rhapsody*)
X      _LT_DARWIN_LINKER_FEATURES($1)
X      ;;
X
X    dgux*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    freebsd1*)
X      _LT_TAGVAR(ld_shlibs, $1)=no
X      ;;
X
X    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
X    # support.  Future versions do this automatically, but an explicit c++rt0.o
X    # does not break anything, and helps significantly (at the cost of a little
X    # extra space).
X    freebsd2.2*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
X    freebsd2*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_minus_L, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
X    freebsd* | dragonfly*)
X      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    hpux9*)
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
X      fi
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X
X      # hardcode_minus_L: Not really in the search PATH,
X      # but as the default location of the library.
X      _LT_TAGVAR(hardcode_minus_L, $1)=yes
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X      ;;
X
X    hpux10*)
X      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
X      fi
X      if test "$with_gnu_ld" = no; then
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
X	_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
X	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
X	_LT_TAGVAR(hardcode_direct, $1)=yes
X	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X	# hardcode_minus_L: Not really in the search PATH,
X	# but as the default location of the library.
X	_LT_TAGVAR(hardcode_minus_L, $1)=yes
X      fi
X      ;;
X
X    hpux11*)
X      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
X	case $host_cpu in
X	hppa*64*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	ia64*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	esac
X      else
X	case $host_cpu in
X	hppa*64*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	ia64*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	esac
X      fi
X      if test "$with_gnu_ld" = no; then
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
X	_LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X	case $host_cpu in
X	hppa*64*|ia64*)
X	  _LT_TAGVAR(hardcode_direct, $1)=no
X	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	  ;;
X	*)
X	  _LT_TAGVAR(hardcode_direct, $1)=yes
X	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X
X	  # hardcode_minus_L: Not really in the search PATH,
X	  # but as the default location of the library.
X	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
X	  ;;
X	esac
X      fi
X      ;;
X
X    irix5* | irix6* | nonstopux*)
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X	# Try to use the -exported_symbol ld option, if it does not
X	# work, assume that -exports_file does not work either and
X	# implicitly export all symbols.
X        save_LDFLAGS="$LDFLAGS"
X        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
X        AC_LINK_IFELSE(int foo(void) {},
X          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
X        )
X        LDFLAGS="$save_LDFLAGS"
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
X      fi
X      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X      _LT_TAGVAR(inherit_rpath, $1)=yes
X      _LT_TAGVAR(link_all_deplibs, $1)=yes
X      ;;
X
X    netbsd* | netbsdelf*-gnu)
X      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
X	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
X      fi
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    newsos6)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    *nto* | *qnx*)
X      ;;
X
X    openbsd*)
X      if test -f /usr/libexec/ld.so; then
X	_LT_TAGVAR(hardcode_direct, $1)=yes
X	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
X	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X	else
X	  case $host_os in
X	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
X	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
X	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X	     ;;
X	   *)
X	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
X	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	     ;;
X	  esac
X	fi
X      else
X	_LT_TAGVAR(ld_shlibs, $1)=no
X      fi
X      ;;
X
X    os2*)
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X      _LT_TAGVAR(hardcode_minus_L, $1)=yes
X      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
X      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
X      ;;
X
X    osf3*)
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X      else
X	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X      fi
X      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X      ;;
X
X    osf4* | osf5*)	# as osf3* with the addition of -msym flag
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X      else
X	_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
X	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
X
X	# Both c and cxx compiler support -rpath directly
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
X      fi
X      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X      ;;
X
X    solaris*)
X      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
X      if test "$GCC" = yes; then
X	wlarc='${wl}'
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
X      else
X	case `$CC -V 2>&1` in
X	*"Compilers 5.0"*)
X	  wlarc=''
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
X	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
X	  ;;
X	*)
X	  wlarc='${wl}'
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
X	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
X	  ;;
X	esac
X      fi
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      case $host_os in
X      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
X      *)
X	# The compiler driver will combine and reorder linker options,
X	# but understands `-z linker_flag'.  GCC discards it without `$wl',
X	# but is careful enough not to reorder.
X	# Supported since Solaris 2.6 (maybe 2.5.1?)
X	if test "$GCC" = yes; then
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
X	else
X	  _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
X	fi
X	;;
X      esac
X      _LT_TAGVAR(link_all_deplibs, $1)=yes
X      ;;
X
X    sunos4*)
X      if test "x$host_vendor" = xsequent; then
X	# Use $CC to link under sequent, because it throws in some extra .o
X	# files that make .init and .fini sections work.
X	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
X      fi
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X      _LT_TAGVAR(hardcode_direct, $1)=yes
X      _LT_TAGVAR(hardcode_minus_L, $1)=yes
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    sysv4)
X      case $host_vendor in
X	sni)
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X	  _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
X	;;
X	siemens)
X	  ## LD is ld it makes a PLAMLIB
X	  ## CC just makes a GrossModule.
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
X	  _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
X	  _LT_TAGVAR(hardcode_direct, $1)=no
X        ;;
X	motorola)
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X	  _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
X	;;
X      esac
X      runpath_var='LD_RUN_PATH'
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    sysv4.3*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
X      ;;
X
X    sysv4*MP*)
X      if test -d /usr/nec; then
X	_LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	runpath_var=LD_RUN_PATH
X	hardcode_runpath_var=yes
X	_LT_TAGVAR(ld_shlibs, $1)=yes
X      fi
X      ;;
X
X    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
X      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
X      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      runpath_var='LD_RUN_PATH'
X
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X      fi
X      ;;
X
X    sysv5* | sco3.2v5* | sco5v6*)
X      # Note: We can NOT use -z defs as we might desire, because we do not
X      # link with -lc, and that would cause any symbols used from libc to
X      # always be unresolved, which means just about no library would
X      # ever link correctly.  If we're not using GNU ld we use -z text
X      # though, which does catch some bad symbols but isn't as heavy-handed
X      # as -z defs.
X      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
X      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
X      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
X      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
X      _LT_TAGVAR(link_all_deplibs, $1)=yes
X      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
X      runpath_var='LD_RUN_PATH'
X
X      if test "$GCC" = yes; then
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X      else
X	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X      fi
X      ;;
X
X    uts4*)
X      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
X      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      ;;
X
X    *)
X      _LT_TAGVAR(ld_shlibs, $1)=no
X      ;;
X    esac
X
X    if test x$host_vendor = xsni; then
X      case $host in
X      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
X	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
X	;;
X      esac
X    fi
X  fi
])
AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
X
_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
X
_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
_LT_DECL([], [extract_expsyms_cmds], [2],
X    [The commands to extract the exported symbol list from a shared archive])
X
#
# Do we need to explicitly link libc?
#
case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
x|xyes)
X  # Assume -lc should be added
X  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
X
X  if test "$enable_shared" = yes && test "$GCC" = yes; then
X    case $_LT_TAGVAR(archive_cmds, $1) in
X    *'~'*)
X      # FIXME: we may have to deal with multi-command sequences.
X      ;;
X    '$CC '*)
X      # Test whether the compiler implicitly links with -lc since on some
X      # systems, -lgcc has to come before -lc. If gcc already passes -lc
X      # to ld, don't add -lc before -lgcc.
X      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
X      $RM conftest*
X      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
X
X      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
X        soname=conftest
X        lib=conftest
X        libobjs=conftest.$ac_objext
X        deplibs=
X        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
X	pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
X        compiler_flags=-v
X        linker_flags=-v
X        verstring=
X        output_objdir=.
X        libname=conftest
X        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
X        _LT_TAGVAR(allow_undefined_flag, $1)=
X        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
X        then
X	  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X        else
X	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
X        fi
X        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
X      else
X        cat conftest.err 1>&5
X      fi
X      $RM conftest*
X      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
X      ;;
X    esac
X  fi
X  ;;
esac
X
_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
X    [Whether or not to add -lc for building shared libraries])
_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
X    [enable_shared_with_static_runtimes], [0],
X    [Whether or not to disallow shared libs when runtime libs are static])
_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
X    [Compiler flag to allow reflexive dlopens])
_LT_TAGDECL([], [whole_archive_flag_spec], [1],
X    [Compiler flag to generate shared objects directly from archives])
_LT_TAGDECL([], [compiler_needs_object], [1],
X    [Whether the compiler copes with passing no objects directly])
_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
X    [Create an old-style archive from a shared archive])
_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
X    [Create a temporary old-style archive to link instead of a shared archive])
_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
_LT_TAGDECL([], [archive_expsym_cmds], [2])
_LT_TAGDECL([], [module_cmds], [2],
X    [Commands used to build a loadable module if different from building
X    a shared archive.])
_LT_TAGDECL([], [module_expsym_cmds], [2])
_LT_TAGDECL([], [with_gnu_ld], [1],
X    [Whether we are building with GNU ld or not])
_LT_TAGDECL([], [allow_undefined_flag], [1],
X    [Flag that allows shared libraries with undefined symbols to be built])
_LT_TAGDECL([], [no_undefined_flag], [1],
X    [Flag that enforces no undefined symbols])
_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
X    [Flag to hardcode $libdir into a binary during linking.
X    This must work even if $libdir does not exist])
_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
X    [[If ld is used when linking, flag to hardcode $libdir into a binary
X    during linking.  This must work even if $libdir does not exist]])
_LT_TAGDECL([], [hardcode_libdir_separator], [1],
X    [Whether we need a single "-rpath" flag with a separated argument])
_LT_TAGDECL([], [hardcode_direct], [0],
X    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
X    DIR into the resulting binary])
_LT_TAGDECL([], [hardcode_direct_absolute], [0],
X    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
X    DIR into the resulting binary and the resulting library dependency is
X    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
X    library is relocated])
_LT_TAGDECL([], [hardcode_minus_L], [0],
X    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
X    into the resulting binary])
_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
X    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
X    into the resulting binary])
_LT_TAGDECL([], [hardcode_automatic], [0],
X    [Set to "yes" if building a shared library automatically hardcodes DIR
X    into the library and all subsequent libraries and executables linked
X    against it])
_LT_TAGDECL([], [inherit_rpath], [0],
X    [Set to yes if linker adds runtime paths of dependent libraries
X    to runtime path list])
_LT_TAGDECL([], [link_all_deplibs], [0],
X    [Whether libtool must link a program against all its dependency libraries])
_LT_TAGDECL([], [fix_srcfile_path], [1],
X    [Fix the shell variable $srcfile for the compiler])
_LT_TAGDECL([], [always_export_symbols], [0],
X    [Set to "yes" if exported symbols are required])
_LT_TAGDECL([], [export_symbols_cmds], [2],
X    [The commands to list exported symbols])
_LT_TAGDECL([], [exclude_expsyms], [1],
X    [Symbols that should not be listed in the preloaded symbols])
_LT_TAGDECL([], [include_expsyms], [1],
X    [Symbols that must always be exported])
_LT_TAGDECL([], [prelink_cmds], [2],
X    [Commands necessary for linking programs (against libraries) with templates])
_LT_TAGDECL([], [file_list_spec], [1],
X    [Specify filename containing input files])
dnl FIXME: Not yet implemented
dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
dnl    [Compiler flag to generate thread safe objects])
])# _LT_LINKER_SHLIBS
X
X
# _LT_LANG_C_CONFIG([TAG])
# ------------------------
# Ensure that the configuration variables for a C compiler are suitably
# defined.  These variables are subsequently used by _LT_CONFIG to write
# the compiler configuration to `libtool'.
m4_defun([_LT_LANG_C_CONFIG],
[m4_require([_LT_DECL_EGREP])dnl
lt_save_CC="$CC"
AC_LANG_PUSH(C)
X
# Source file extension for C test sources.
ac_ext=c
X
# Object file extension for compiled C test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# Code to be used in simple compile tests
lt_simple_compile_test_code="int some_variable = 0;"
X
# Code to be used in simple link tests
lt_simple_link_test_code='int main(){return(0);}'
X
_LT_TAG_COMPILER
# Save the default compiler, since it gets overwritten when the other
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
compiler_DEFAULT=$CC
X
# save warnings/boilerplate of simple test code
_LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE
X
## CAVEAT EMPTOR:
## There is no encapsulation within the following macros, do not change
## the running order or otherwise move them around unless you know exactly
## what you are doing...
if test -n "$compiler"; then
X  _LT_COMPILER_NO_RTTI($1)
X  _LT_COMPILER_PIC($1)
X  _LT_COMPILER_C_O($1)
X  _LT_COMPILER_FILE_LOCKS($1)
X  _LT_LINKER_SHLIBS($1)
X  _LT_SYS_DYNAMIC_LINKER($1)
X  _LT_LINKER_HARDCODE_LIBPATH($1)
X  LT_SYS_DLOPEN_SELF
X  _LT_CMD_STRIPLIB
X
X  # Report which library types will actually be built
X  AC_MSG_CHECKING([if libtool supports shared libraries])
X  AC_MSG_RESULT([$can_build_shared])
X
X  AC_MSG_CHECKING([whether to build shared libraries])
X  test "$can_build_shared" = "no" && enable_shared=no
X
X  # On AIX, shared libraries and static libraries use the same namespace, and
X  # are all built from PIC.
X  case $host_os in
X  aix3*)
X    test "$enable_shared" = yes && enable_static=no
X    if test -n "$RANLIB"; then
X      archive_cmds="$archive_cmds~\$RANLIB \$lib"
X      postinstall_cmds='$RANLIB $lib'
X    fi
X    ;;
X
X  aix[[4-9]]*)
X    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
X      test "$enable_shared" = yes && enable_static=no
X    fi
X    ;;
X  esac
X  AC_MSG_RESULT([$enable_shared])
X
X  AC_MSG_CHECKING([whether to build static libraries])
X  # Make sure either enable_shared or enable_static is yes.
X  test "$enable_shared" = yes || enable_static=yes
X  AC_MSG_RESULT([$enable_static])
X
X  _LT_CONFIG($1)
fi
AC_LANG_POP
CC="$lt_save_CC"
])# _LT_LANG_C_CONFIG
X
X
# _LT_PROG_CXX
# ------------
# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
# compiler, we have our own version here.
m4_defun([_LT_PROG_CXX],
[
pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
AC_PROG_CXX
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
X    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
X    (test "X$CXX" != "Xg++"))) ; then
X  AC_PROG_CXXCPP
else
X  _lt_caught_CXX_error=yes
fi
popdef([AC_MSG_ERROR])
])# _LT_PROG_CXX
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([_LT_PROG_CXX], [])
X
X
# _LT_LANG_CXX_CONFIG([TAG])
# --------------------------
# Ensure that the configuration variables for a C++ compiler are suitably
# defined.  These variables are subsequently used by _LT_CONFIG to write
# the compiler configuration to `libtool'.
m4_defun([_LT_LANG_CXX_CONFIG],
[AC_REQUIRE([_LT_PROG_CXX])dnl
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
m4_require([_LT_DECL_EGREP])dnl
X
AC_LANG_PUSH(C++)
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_TAGVAR(allow_undefined_flag, $1)=
_LT_TAGVAR(always_export_symbols, $1)=no
_LT_TAGVAR(archive_expsym_cmds, $1)=
_LT_TAGVAR(compiler_needs_object, $1)=no
_LT_TAGVAR(export_dynamic_flag_spec, $1)=
_LT_TAGVAR(hardcode_direct, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
_LT_TAGVAR(hardcode_libdir_separator, $1)=
_LT_TAGVAR(hardcode_minus_L, $1)=no
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
_LT_TAGVAR(hardcode_automatic, $1)=no
_LT_TAGVAR(inherit_rpath, $1)=no
_LT_TAGVAR(module_cmds, $1)=
_LT_TAGVAR(module_expsym_cmds, $1)=
_LT_TAGVAR(link_all_deplibs, $1)=unknown
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
_LT_TAGVAR(no_undefined_flag, $1)=
_LT_TAGVAR(whole_archive_flag_spec, $1)=
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
X
# Source file extension for C++ test sources.
ac_ext=cpp
X
# Object file extension for compiled C++ test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# No sense in running all these tests if we already determined that
# the CXX compiler isn't working.  Some variables (like enable_shared)
# are currently assumed to apply to all compilers on this platform,
# and will be corrupted by setting them based on a non-working compiler.
if test "$_lt_caught_CXX_error" != yes; then
X  # Code to be used in simple compile tests
X  lt_simple_compile_test_code="int some_variable = 0;"
X
X  # Code to be used in simple link tests
X  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
X
X  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
X  _LT_TAG_COMPILER
X
X  # save warnings/boilerplate of simple test code
X  _LT_COMPILER_BOILERPLATE
X  _LT_LINKER_BOILERPLATE
X
X  # Allow CC to be a program name with arguments.
X  lt_save_CC=$CC
X  lt_save_LD=$LD
X  lt_save_GCC=$GCC
X  GCC=$GXX
X  lt_save_with_gnu_ld=$with_gnu_ld
X  lt_save_path_LD=$lt_cv_path_LD
X  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
X    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
X  else
X    $as_unset lt_cv_prog_gnu_ld
X  fi
X  if test -n "${lt_cv_path_LDCXX+set}"; then
X    lt_cv_path_LD=$lt_cv_path_LDCXX
X  else
X    $as_unset lt_cv_path_LD
X  fi
X  test -z "${LDCXX+set}" || LD=$LDCXX
X  CC=${CXX-"c++"}
X  compiler=$CC
X  _LT_TAGVAR(compiler, $1)=$CC
X  _LT_CC_BASENAME([$compiler])
X
X  if test -n "$compiler"; then
X    # We don't want -fno-exception when compiling C++ code, so set the
X    # no_builtin_flag separately
X    if test "$GXX" = yes; then
X      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
X    else
X      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
X    fi
X
X    if test "$GXX" = yes; then
X      # Set up default GNU C++ configuration
X
X      LT_PATH_LD
X
X      # Check if GNU C++ uses GNU ld as the underlying linker, since the
X      # archiving commands below assume that GNU ld is being used.
X      if test "$with_gnu_ld" = yes; then
X        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
X        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X
X        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X
X        # If archive_cmds runs LD, not CC, wlarc should be empty
X        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
X        #     investigate it a little bit more. (MM)
X        wlarc='${wl}'
X
X        # ancient GNU ld didn't support --whole-archive et. al.
X        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
X	  $GREP 'no-whole-archive' > /dev/null; then
X          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
X        else
X          _LT_TAGVAR(whole_archive_flag_spec, $1)=
X        fi
X      else
X        with_gnu_ld=no
X        wlarc=
X
X        # A generic and very simple default shared library creation
X        # command for GNU C++ for the case where it uses the native
X        # linker, instead of GNU ld.  If possible, this setting should
X        # overridden to take advantage of the native linker features on
X        # the platform it is being used on.
X        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
X      fi
X
X      # Commands to make compiler produce verbose output that lists
X      # what "hidden" libraries, object files and flags are used when
X      # linking a shared library.
X      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
X
X    else
X      GXX=no
X      with_gnu_ld=no
X      wlarc=
X    fi
X
X    # PORTME: fill in a description of your system's C++ link characteristics
X    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
X    _LT_TAGVAR(ld_shlibs, $1)=yes
X    case $host_os in
X      aix3*)
X        # FIXME: insert proper C++ library support
X        _LT_TAGVAR(ld_shlibs, $1)=no
X        ;;
X      aix[[4-9]]*)
X        if test "$host_cpu" = ia64; then
X          # On IA64, the linker does run time linking by default, so we don't
X          # have to do anything special.
X          aix_use_runtimelinking=no
X          exp_sym_flag='-Bexport'
X          no_entry_flag=""
X        else
X          aix_use_runtimelinking=no
X
X          # Test if we are trying to use run time linking or normal
X          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
X          # need to do runtime linking.
X          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
X	    for ld_flag in $LDFLAGS; do
X	      case $ld_flag in
X	      *-brtl*)
X	        aix_use_runtimelinking=yes
X	        break
X	        ;;
X	      esac
X	    done
X	    ;;
X          esac
X
X          exp_sym_flag='-bexport'
X          no_entry_flag='-bnoentry'
X        fi
X
X        # When large executables or shared objects are built, AIX ld can
X        # have problems creating the table of contents.  If linking a library
X        # or program results in "error TOC overflow" add -mminimal-toc to
X        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
X        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
X
X        _LT_TAGVAR(archive_cmds, $1)=''
X        _LT_TAGVAR(hardcode_direct, $1)=yes
X        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
X        _LT_TAGVAR(link_all_deplibs, $1)=yes
X        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
X
X        if test "$GXX" = yes; then
X          case $host_os in aix4.[[012]]|aix4.[[012]].*)
X          # We only want to do this on AIX 4.2 and lower, the check
X          # below for broken collect2 doesn't work under 4.3+
X	  collect2name=`${CC} -print-prog-name=collect2`
X	  if test -f "$collect2name" &&
X	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
X	  then
X	    # We have reworked collect2
X	    :
X	  else
X	    # We have old collect2
X	    _LT_TAGVAR(hardcode_direct, $1)=unsupported
X	    # It fails to find uninstalled libraries when the uninstalled
X	    # path is not listed in the libpath.  Setting hardcode_minus_L
X	    # to unsupported forces relinking
X	    _LT_TAGVAR(hardcode_minus_L, $1)=yes
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X	    _LT_TAGVAR(hardcode_libdir_separator, $1)=
X	  fi
X          esac
X          shared_flag='-shared'
X	  if test "$aix_use_runtimelinking" = yes; then
X	    shared_flag="$shared_flag "'${wl}-G'
X	  fi
X        else
X          # not using gcc
X          if test "$host_cpu" = ia64; then
X	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
X	  # chokes on -Wl,-G. The following line is correct:
X	  shared_flag='-G'
X          else
X	    if test "$aix_use_runtimelinking" = yes; then
X	      shared_flag='${wl}-G'
X	    else
X	      shared_flag='${wl}-bM:SRE'
X	    fi
X          fi
X        fi
X
X        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
X        # It seems that -bexpall does not export symbols beginning with
X        # underscore (_), so it is better to generate a list of symbols to
X	# export.
X        _LT_TAGVAR(always_export_symbols, $1)=yes
X        if test "$aix_use_runtimelinking" = yes; then
X          # Warning - without using the other runtime loading flags (-brtl),
X          # -berok will link without error, but may produce a broken library.
X          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
X          # Determine the default libpath from the value encoded in an empty
X          # executable.
X          _LT_SYS_MODULE_PATH_AIX
X          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
X
X          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
X        else
X          if test "$host_cpu" = ia64; then
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
X	    _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
X	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
X          else
X	    # Determine the default libpath from the value encoded in an
X	    # empty executable.
X	    _LT_SYS_MODULE_PATH_AIX
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
X	    # Warning - without using the other run time loading flags,
X	    # -berok will link without error, but may produce a broken library.
X	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
X	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
X	    # Exported symbols can be pulled into shared objects from archives
X	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
X	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
X	    # This is similar to how AIX traditionally builds its shared
X	    # libraries.
X	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
X          fi
X        fi
X        ;;
X
X      beos*)
X	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
X	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
X	  # support --undefined.  This deserves some investigation.  FIXME
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	else
X	  _LT_TAGVAR(ld_shlibs, $1)=no
X	fi
X	;;
X
X      chorus*)
X        case $cc_basename in
X          *)
X	  # FIXME: insert proper C++ library support
X	  _LT_TAGVAR(ld_shlibs, $1)=no
X	  ;;
X        esac
X        ;;
X
X      cygwin* | mingw* | pw32* | cegcc*)
X        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
X        # as there is no search path for DLLs.
X        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
X        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
X        _LT_TAGVAR(always_export_symbols, $1)=no
X        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
X
X        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
X          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
X          # If the export-symbols file already is a .def file (1st line
X          # is EXPORTS), use it as is; otherwise, prepend...
X          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
X	    cp $export_symbols $output_objdir/$soname.def;
X          else
X	    echo EXPORTS > $output_objdir/$soname.def;
X	    cat $export_symbols >> $output_objdir/$soname.def;
X          fi~
X          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
X        else
X          _LT_TAGVAR(ld_shlibs, $1)=no
X        fi
X        ;;
X      darwin* | rhapsody*)
X        _LT_DARWIN_LINKER_FEATURES($1)
X	;;
X
X      dgux*)
X        case $cc_basename in
X          ec++*)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          ghcx*)
X	    # Green Hills C++ Compiler
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          *)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X        esac
X        ;;
X
X      freebsd[[12]]*)
X        # C++ shared libraries reported to be fairly broken before
X	# switch to ELF
X        _LT_TAGVAR(ld_shlibs, $1)=no
X        ;;
X
X      freebsd-elf*)
X        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X        ;;
X
X      freebsd* | dragonfly*)
X        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
X        # conventions
X        _LT_TAGVAR(ld_shlibs, $1)=yes
X        ;;
X
X      gnu*)
X        ;;
X
X      hpux9*)
X        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
X        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X        _LT_TAGVAR(hardcode_direct, $1)=yes
X        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
X				             # but as the default
X				             # location of the library.
X
X        case $cc_basename in
X          CC*)
X            # FIXME: insert proper C++ library support
X            _LT_TAGVAR(ld_shlibs, $1)=no
X            ;;
X          aCC*)
X            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
X            # Commands to make compiler produce verbose output that lists
X            # what "hidden" libraries, object files and flags are used when
X            # linking a shared library.
X            #
X            # There doesn't appear to be a way to prevent this compiler from
X            # explicitly linking system object files so we need to strip them
X            # from the output so that they don't get included in the library
X            # dependencies.
X            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
X            ;;
X          *)
X            if test "$GXX" = yes; then
X              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
X            else
X              # FIXME: insert proper C++ library support
X              _LT_TAGVAR(ld_shlibs, $1)=no
X            fi
X            ;;
X        esac
X        ;;
X
X      hpux10*|hpux11*)
X        if test $with_gnu_ld = no; then
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
X	  _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X          case $host_cpu in
X            hppa*64*|ia64*)
X              ;;
X            *)
X	      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X              ;;
X          esac
X        fi
X        case $host_cpu in
X          hppa*64*|ia64*)
X            _LT_TAGVAR(hardcode_direct, $1)=no
X            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X            ;;
X          *)
X            _LT_TAGVAR(hardcode_direct, $1)=yes
X            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
X					         # but as the default
X					         # location of the library.
X            ;;
X        esac
X
X        case $cc_basename in
X          CC*)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          aCC*)
X	    case $host_cpu in
X	      hppa*64*)
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	        ;;
X	      ia64*)
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	        ;;
X	      *)
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	        ;;
X	    esac
X	    # Commands to make compiler produce verbose output that lists
X	    # what "hidden" libraries, object files and flags are used when
X	    # linking a shared library.
X	    #
X	    # There doesn't appear to be a way to prevent this compiler from
X	    # explicitly linking system object files so we need to strip them
X	    # from the output so that they don't get included in the library
X	    # dependencies.
X	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
X	    ;;
X          *)
X	    if test "$GXX" = yes; then
X	      if test $with_gnu_ld = no; then
X	        case $host_cpu in
X	          hppa*64*)
X	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	            ;;
X	          ia64*)
X	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	            ;;
X	          *)
X	            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	            ;;
X	        esac
X	      fi
X	    else
X	      # FIXME: insert proper C++ library support
X	      _LT_TAGVAR(ld_shlibs, $1)=no
X	    fi
X	    ;;
X        esac
X        ;;
X
X      interix[[3-9]]*)
X	_LT_TAGVAR(hardcode_direct, $1)=no
X	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
X	# Instead, shared libraries are loaded at an image base (0x10000000 by
X	# default) and relocated if they conflict, which is a slow very memory
X	# consuming and fragmenting process.  To avoid this, we pick a random,
X	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
X	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
X	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
X	_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
X	;;
X      irix5* | irix6*)
X        case $cc_basename in
X          CC*)
X	    # SGI C++
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X
X	    # Archives containing C++ object files must be created using
X	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
X	    # necessary to make sure instantiated templates are included
X	    # in the archive.
X	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
X	    ;;
X          *)
X	    if test "$GXX" = yes; then
X	      if test "$with_gnu_ld" = no; then
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X	      else
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
X	      fi
X	    fi
X	    _LT_TAGVAR(link_all_deplibs, $1)=yes
X	    ;;
X        esac
X        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X        _LT_TAGVAR(inherit_rpath, $1)=yes
X        ;;
X
X      linux* | k*bsd*-gnu | kopensolaris*-gnu)
X        case $cc_basename in
X          KCC*)
X	    # Kuck and Associates, Inc. (KAI) C++ Compiler
X
X	    # KCC will only create a shared library if the output file
X	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
X	    # to its proper name (with version) after linking.
X	    _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
X	    # Commands to make compiler produce verbose output that lists
X	    # what "hidden" libraries, object files and flags are used when
X	    # linking a shared library.
X	    #
X	    # There doesn't appear to be a way to prevent this compiler from
X	    # explicitly linking system object files so we need to strip them
X	    # from the output so that they don't get included in the library
X	    # dependencies.
X	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
X
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X
X	    # Archives containing C++ object files must be created using
X	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
X	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
X	    ;;
X	  icpc* | ecpc* )
X	    # Intel C++
X	    with_gnu_ld=yes
X	    # version 8.0 and above of icpc choke on multiply defined symbols
X	    # if we add $predep_objects and $postdep_objects, however 7.1 and
X	    # earlier do not add the objects themselves.
X	    case `$CC -V 2>&1` in
X	      *"Version 7."*)
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
X		_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X		;;
X	      *)  # Version 8.0 or newer
X	        tmp_idyn=
X	        case $host_cpu in
X		  ia64*) tmp_idyn=' -i_dynamic';;
X		esac
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X		_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
X		;;
X	    esac
X	    _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
X	    ;;
X          pgCC* | pgcpp*)
X            # Portland Group C++ compiler
X	    case `$CC -V` in
X	    *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
X	      _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
X		rm -rf $tpldir~
X		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
X		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
X	      _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
X		rm -rf $tpldir~
X		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
X		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
X		$RANLIB $oldlib'
X	      _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
X		rm -rf $tpldir~
X		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
X		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
X	      _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
X		rm -rf $tpldir~
X		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
X		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
X	      ;;
X	    *) # Version 6 will use weak symbols
X	      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
X	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
X	      ;;
X	    esac
X
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
X	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
X            ;;
X	  cxx*)
X	    # Compaq C++
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
X
X	    runpath_var=LD_RUN_PATH
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
X	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X	    # Commands to make compiler produce verbose output that lists
X	    # what "hidden" libraries, object files and flags are used when
X	    # linking a shared library.
X	    #
X	    # There doesn't appear to be a way to prevent this compiler from
X	    # explicitly linking system object files so we need to strip them
X	    # from the output so that they don't get included in the library
X	    # dependencies.
X	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
X	    ;;
X	  xl*)
X	    # IBM XL 8.0 on PPC, with GNU ld
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
X	    if test "x$supports_anon_versioning" = xyes; then
X	      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
X		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
X		echo "local: *; };" >> $output_objdir/$libname.ver~
X		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
X	    fi
X	    ;;
X	  *)
X	    case `$CC -V 2>&1 | sed 5q` in
X	    *Sun\ C*)
X	      # Sun C++ 5.9
X	      _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
X	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
X	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
X	      _LT_TAGVAR(compiler_needs_object, $1)=yes
X
X	      # Not sure whether something based on
X	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
X	      # would be better.
X	      output_verbose_link_cmd='echo'
X
X	      # Archives containing C++ object files must be created using
X	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
X	      # necessary to make sure instantiated templates are included
X	      # in the archive.
X	      _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
X	      ;;
X	    esac
X	    ;;
X	esac
X	;;
X
X      lynxos*)
X        # FIXME: insert proper C++ library support
X	_LT_TAGVAR(ld_shlibs, $1)=no
X	;;
X
X      m88k*)
X        # FIXME: insert proper C++ library support
X        _LT_TAGVAR(ld_shlibs, $1)=no
X	;;
X
X      mvs*)
X        case $cc_basename in
X          cxx*)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X	  *)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X	esac
X	;;
X
X      netbsd*)
X        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
X	  _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
X	  wlarc=
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X	  _LT_TAGVAR(hardcode_direct, $1)=yes
X	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	fi
X	# Workaround some broken pre-1.5 toolchains
X	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
X	;;
X
X      *nto* | *qnx*)
X        _LT_TAGVAR(ld_shlibs, $1)=yes
X	;;
X
X      openbsd2*)
X        # C++ shared libraries are fairly broken
X	_LT_TAGVAR(ld_shlibs, $1)=no
X	;;
X
X      openbsd*)
X	if test -f /usr/libexec/ld.so; then
X	  _LT_TAGVAR(hardcode_direct, $1)=yes
X	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
X	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
X	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
X	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
X	  fi
X	  output_verbose_link_cmd=echo
X	else
X	  _LT_TAGVAR(ld_shlibs, $1)=no
X	fi
X	;;
X
X      osf3* | osf4* | osf5*)
X        case $cc_basename in
X          KCC*)
X	    # Kuck and Associates, Inc. (KAI) C++ Compiler
X
X	    # KCC will only create a shared library if the output file
X	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
X	    # to its proper name (with version) after linking.
X	    _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
X
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
X	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X	    # Archives containing C++ object files must be created using
X	    # the KAI C++ compiler.
X	    case $host in
X	      osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
X	      *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
X	    esac
X	    ;;
X          RCC*)
X	    # Rational C++ 2.4.1
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          cxx*)
X	    case $host in
X	      osf3*)
X	        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X		;;
X	      *)
X	        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
X	        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
X	          echo "-hidden">> $lib.exp~
X	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
X	          $RM $lib.exp'
X	        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
X		;;
X	    esac
X
X	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X	    # Commands to make compiler produce verbose output that lists
X	    # what "hidden" libraries, object files and flags are used when
X	    # linking a shared library.
X	    #
X	    # There doesn't appear to be a way to prevent this compiler from
X	    # explicitly linking system object files so we need to strip them
X	    # from the output so that they don't get included in the library
X	    # dependencies.
X	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
X	    ;;
X	  *)
X	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
X	      _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
X	      case $host in
X	        osf3*)
X	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X		  ;;
X	        *)
X	          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
X		  ;;
X	      esac
X
X	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
X	      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
X
X	      # Commands to make compiler produce verbose output that lists
X	      # what "hidden" libraries, object files and flags are used when
X	      # linking a shared library.
X	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
X
X	    else
X	      # FIXME: insert proper C++ library support
X	      _LT_TAGVAR(ld_shlibs, $1)=no
X	    fi
X	    ;;
X        esac
X        ;;
X
X      psos*)
X        # FIXME: insert proper C++ library support
X        _LT_TAGVAR(ld_shlibs, $1)=no
X        ;;
X
X      sunos4*)
X        case $cc_basename in
X          CC*)
X	    # Sun C++ 4.x
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          lcc*)
X	    # Lucid
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          *)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X        esac
X        ;;
X
X      solaris*)
X        case $cc_basename in
X          CC*)
X	    # Sun C++ 4.2, 5.x and Centerline C++
X            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
X	    _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
X
X	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
X	    _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	    case $host_os in
X	      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
X	      *)
X		# The compiler driver will combine and reorder linker options,
X		# but understands `-z linker_flag'.
X	        # Supported since Solaris 2.6 (maybe 2.5.1?)
X		_LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
X	        ;;
X	    esac
X	    _LT_TAGVAR(link_all_deplibs, $1)=yes
X
X	    output_verbose_link_cmd='echo'
X
X	    # Archives containing C++ object files must be created using
X	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
X	    # necessary to make sure instantiated templates are included
X	    # in the archive.
X	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
X	    ;;
X          gcx*)
X	    # Green Hills C++ Compiler
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
X
X	    # The C++ compiler must be used to create the archive.
X	    _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
X	    ;;
X          *)
X	    # GNU C++ compiler with Solaris linker
X	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
X	      _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
X	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
X	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
X
X	        # Commands to make compiler produce verbose output that lists
X	        # what "hidden" libraries, object files and flags are used when
X	        # linking a shared library.
X	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
X	      else
X	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
X	        # platform.
X	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
X	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
X		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
X
X	        # Commands to make compiler produce verbose output that lists
X	        # what "hidden" libraries, object files and flags are used when
X	        # linking a shared library.
X	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
X	      fi
X
X	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
X	      case $host_os in
X		solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
X		*)
X		  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
X		  ;;
X	      esac
X	    fi
X	    ;;
X        esac
X        ;;
X
X    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
X      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
X      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
X      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X      runpath_var='LD_RUN_PATH'
X
X      case $cc_basename in
X        CC*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X	*)
X	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	  ;;
X      esac
X      ;;
X
X      sysv5* | sco3.2v5* | sco5v6*)
X	# Note: We can NOT use -z defs as we might desire, because we do not
X	# link with -lc, and that would cause any symbols used from libc to
X	# always be unresolved, which means just about no library would
X	# ever link correctly.  If we're not using GNU ld we use -z text
X	# though, which does catch some bad symbols but isn't as heavy-handed
X	# as -z defs.
X	_LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
X	_LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
X	_LT_TAGVAR(archive_cmds_need_lc, $1)=no
X	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
X	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
X	_LT_TAGVAR(hardcode_libdir_separator, $1)=':'
X	_LT_TAGVAR(link_all_deplibs, $1)=yes
X	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
X	runpath_var='LD_RUN_PATH'
X
X	case $cc_basename in
X          CC*)
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	    ;;
X	  *)
X	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
X	    ;;
X	esac
X      ;;
X
X      tandem*)
X        case $cc_basename in
X          NCC*)
X	    # NonStop-UX NCC 3.20
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X          *)
X	    # FIXME: insert proper C++ library support
X	    _LT_TAGVAR(ld_shlibs, $1)=no
X	    ;;
X        esac
X        ;;
X
X      vxworks*)
X        # FIXME: insert proper C++ library support
X        _LT_TAGVAR(ld_shlibs, $1)=no
X        ;;
X
X      *)
X        # FIXME: insert proper C++ library support
X        _LT_TAGVAR(ld_shlibs, $1)=no
X        ;;
X    esac
X
X    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
X    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
X
X    _LT_TAGVAR(GCC, $1)="$GXX"
X    _LT_TAGVAR(LD, $1)="$LD"
X
X    ## CAVEAT EMPTOR:
X    ## There is no encapsulation within the following macros, do not change
X    ## the running order or otherwise move them around unless you know exactly
X    ## what you are doing...
X    _LT_SYS_HIDDEN_LIBDEPS($1)
X    _LT_COMPILER_PIC($1)
X    _LT_COMPILER_C_O($1)
X    _LT_COMPILER_FILE_LOCKS($1)
X    _LT_LINKER_SHLIBS($1)
X    _LT_SYS_DYNAMIC_LINKER($1)
X    _LT_LINKER_HARDCODE_LIBPATH($1)
X
X    _LT_CONFIG($1)
X  fi # test -n "$compiler"
X
X  CC=$lt_save_CC
X  LDCXX=$LD
X  LD=$lt_save_LD
X  GCC=$lt_save_GCC
X  with_gnu_ld=$lt_save_with_gnu_ld
X  lt_cv_path_LDCXX=$lt_cv_path_LD
X  lt_cv_path_LD=$lt_save_path_LD
X  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
X  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
fi # test "$_lt_caught_CXX_error" != yes
X
AC_LANG_POP
])# _LT_LANG_CXX_CONFIG
X
X
# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
# ---------------------------------
# Figure out "hidden" library dependencies from verbose
# compiler output when linking a shared library.
# Parse the compiler output and extract the necessary
# objects, libraries and library flags.
m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
# Dependencies to place before and after the object being linked:
_LT_TAGVAR(predep_objects, $1)=
_LT_TAGVAR(postdep_objects, $1)=
_LT_TAGVAR(predeps, $1)=
_LT_TAGVAR(postdeps, $1)=
_LT_TAGVAR(compiler_lib_search_path, $1)=
X
dnl we can't use the lt_simple_compile_test_code here,
dnl because it contains code intended for an executable,
dnl not a library.  It's possible we should let each
dnl tag define a new lt_????_link_test_code variable,
dnl but it's only used here...
m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
int a;
void foo (void) { a = 0; }
_LT_EOF
], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
class Foo
{
public:
X  Foo (void) { a = 0; }
private:
X  int a;
};
_LT_EOF
], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
X      subroutine foo
X      implicit none
X      integer*4 a
X      a=0
X      return
X      end
_LT_EOF
], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
X      subroutine foo
X      implicit none
X      integer a
X      a=0
X      return
X      end
_LT_EOF
], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
public class foo {
X  private int a;
X  public void bar (void) {
X    a = 0;
X  }
};
_LT_EOF
])
dnl Parse the compiler output and extract the necessary
dnl objects, libraries and library flags.
if AC_TRY_EVAL(ac_compile); then
X  # Parse the compiler output and extract the necessary
X  # objects, libraries and library flags.
X
X  # Sentinel used to keep track of whether or not we are before
X  # the conftest object file.
X  pre_test_object_deps_done=no
X
X  for p in `eval "$output_verbose_link_cmd"`; do
X    case $p in
X
X    -L* | -R* | -l*)
X       # Some compilers place space between "-{L,R}" and the path.
X       # Remove the space.
X       if test $p = "-L" ||
X          test $p = "-R"; then
X	 prev=$p
X	 continue
X       else
X	 prev=
X       fi
X
X       if test "$pre_test_object_deps_done" = no; then
X	 case $p in
X	 -L* | -R*)
X	   # Internal compiler library paths should come after those
X	   # provided the user.  The postdeps already come after the
X	   # user supplied libs so there is no need to process them.
X	   if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
X	     _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
X	   else
X	     _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
X	   fi
X	   ;;
X	 # The "-l" case would never come before the object being
X	 # linked, so don't bother handling this case.
X	 esac
X       else
X	 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
X	   _LT_TAGVAR(postdeps, $1)="${prev}${p}"
X	 else
X	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
X	 fi
X       fi
X       ;;
X
X    *.$objext)
X       # This assumes that the test object file only shows up
X       # once in the compiler output.
X       if test "$p" = "conftest.$objext"; then
X	 pre_test_object_deps_done=yes
X	 continue
X       fi
X
X       if test "$pre_test_object_deps_done" = no; then
X	 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
X	   _LT_TAGVAR(predep_objects, $1)="$p"
X	 else
X	   _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
X	 fi
X       else
X	 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
X	   _LT_TAGVAR(postdep_objects, $1)="$p"
X	 else
X	   _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
X	 fi
X       fi
X       ;;
X
X    *) ;; # Ignore the rest.
X
X    esac
X  done
X
X  # Clean up.
X  rm -f a.out a.exe
else
X  echo "libtool.m4: error: problem compiling $1 test program"
fi
X
$RM -f confest.$objext
X
# PORTME: override above test on systems where it is broken
m4_if([$1], [CXX],
[case $host_os in
interix[[3-9]]*)
X  # Interix 3.5 installs completely hosed .la files for C++, so rather than
X  # hack all around it, let's just trust "g++" to DTRT.
X  _LT_TAGVAR(predep_objects,$1)=
X  _LT_TAGVAR(postdep_objects,$1)=
X  _LT_TAGVAR(postdeps,$1)=
X  ;;
X
linux*)
X  case `$CC -V 2>&1 | sed 5q` in
X  *Sun\ C*)
X    # Sun C++ 5.9
X
X    # The more standards-conforming stlport4 library is
X    # incompatible with the Cstd library. Avoid specifying
X    # it if it's in CXXFLAGS. Ignore libCrun as
X    # -library=stlport4 depends on it.
X    case " $CXX $CXXFLAGS " in
X    *" -library=stlport4 "*)
X      solaris_use_stlport4=yes
X      ;;
X    esac
X
X    if test "$solaris_use_stlport4" != yes; then
X      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
X    fi
X    ;;
X  esac
X  ;;
X
solaris*)
X  case $cc_basename in
X  CC*)
X    # The more standards-conforming stlport4 library is
X    # incompatible with the Cstd library. Avoid specifying
X    # it if it's in CXXFLAGS. Ignore libCrun as
X    # -library=stlport4 depends on it.
X    case " $CXX $CXXFLAGS " in
X    *" -library=stlport4 "*)
X      solaris_use_stlport4=yes
X      ;;
X    esac
X
X    # Adding this requires a known-good setup of shared libraries for
X    # Sun compiler versions before 5.6, else PIC objects from an old
X    # archive will be linked into the output, leading to subtle bugs.
X    if test "$solaris_use_stlport4" != yes; then
X      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
X    fi
X    ;;
X  esac
X  ;;
esac
])
X
case " $_LT_TAGVAR(postdeps, $1) " in
*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
esac
X _LT_TAGVAR(compiler_lib_search_dirs, $1)=
if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
X _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
fi
_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
X    [The directories searched by this compiler when creating a shared library])
_LT_TAGDECL([], [predep_objects], [1],
X    [Dependencies to place before and after the objects being linked to
X    create a shared library])
_LT_TAGDECL([], [postdep_objects], [1])
_LT_TAGDECL([], [predeps], [1])
_LT_TAGDECL([], [postdeps], [1])
_LT_TAGDECL([], [compiler_lib_search_path], [1],
X    [The library search path used internally by the compiler when linking
X    a shared library])
])# _LT_SYS_HIDDEN_LIBDEPS
X
X
# _LT_PROG_F77
# ------------
# Since AC_PROG_F77 is broken, in that it returns the empty string
# if there is no fortran compiler, we have our own version here.
m4_defun([_LT_PROG_F77],
[
pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
AC_PROG_F77
if test -z "$F77" || test "X$F77" = "Xno"; then
X  _lt_disable_F77=yes
fi
popdef([AC_MSG_ERROR])
])# _LT_PROG_F77
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([_LT_PROG_F77], [])
X
X
# _LT_LANG_F77_CONFIG([TAG])
# --------------------------
# Ensure that the configuration variables for a Fortran 77 compiler are
# suitably defined.  These variables are subsequently used by _LT_CONFIG
# to write the compiler configuration to `libtool'.
m4_defun([_LT_LANG_F77_CONFIG],
[AC_REQUIRE([_LT_PROG_F77])dnl
AC_LANG_PUSH(Fortran 77)
X
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_TAGVAR(allow_undefined_flag, $1)=
_LT_TAGVAR(always_export_symbols, $1)=no
_LT_TAGVAR(archive_expsym_cmds, $1)=
_LT_TAGVAR(export_dynamic_flag_spec, $1)=
_LT_TAGVAR(hardcode_direct, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
_LT_TAGVAR(hardcode_libdir_separator, $1)=
_LT_TAGVAR(hardcode_minus_L, $1)=no
_LT_TAGVAR(hardcode_automatic, $1)=no
_LT_TAGVAR(inherit_rpath, $1)=no
_LT_TAGVAR(module_cmds, $1)=
_LT_TAGVAR(module_expsym_cmds, $1)=
_LT_TAGVAR(link_all_deplibs, $1)=unknown
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
_LT_TAGVAR(no_undefined_flag, $1)=
_LT_TAGVAR(whole_archive_flag_spec, $1)=
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
X
# Source file extension for f77 test sources.
ac_ext=f
X
# Object file extension for compiled f77 test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# No sense in running all these tests if we already determined that
# the F77 compiler isn't working.  Some variables (like enable_shared)
# are currently assumed to apply to all compilers on this platform,
# and will be corrupted by setting them based on a non-working compiler.
if test "$_lt_disable_F77" != yes; then
X  # Code to be used in simple compile tests
X  lt_simple_compile_test_code="\
X      subroutine t
X      return
X      end
"
X
X  # Code to be used in simple link tests
X  lt_simple_link_test_code="\
X      program t
X      end
"
X
X  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
X  _LT_TAG_COMPILER
X
X  # save warnings/boilerplate of simple test code
X  _LT_COMPILER_BOILERPLATE
X  _LT_LINKER_BOILERPLATE
X
X  # Allow CC to be a program name with arguments.
X  lt_save_CC="$CC"
X  lt_save_GCC=$GCC
X  CC=${F77-"f77"}
X  compiler=$CC
X  _LT_TAGVAR(compiler, $1)=$CC
X  _LT_CC_BASENAME([$compiler])
X  GCC=$G77
X  if test -n "$compiler"; then
X    AC_MSG_CHECKING([if libtool supports shared libraries])
X    AC_MSG_RESULT([$can_build_shared])
X
X    AC_MSG_CHECKING([whether to build shared libraries])
X    test "$can_build_shared" = "no" && enable_shared=no
X
X    # On AIX, shared libraries and static libraries use the same namespace, and
X    # are all built from PIC.
X    case $host_os in
X      aix3*)
X        test "$enable_shared" = yes && enable_static=no
X        if test -n "$RANLIB"; then
X          archive_cmds="$archive_cmds~\$RANLIB \$lib"
X          postinstall_cmds='$RANLIB $lib'
X        fi
X        ;;
X      aix[[4-9]]*)
X	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
X	  test "$enable_shared" = yes && enable_static=no
X	fi
X        ;;
X    esac
X    AC_MSG_RESULT([$enable_shared])
X
X    AC_MSG_CHECKING([whether to build static libraries])
X    # Make sure either enable_shared or enable_static is yes.
X    test "$enable_shared" = yes || enable_static=yes
X    AC_MSG_RESULT([$enable_static])
X
X    _LT_TAGVAR(GCC, $1)="$G77"
X    _LT_TAGVAR(LD, $1)="$LD"
X
X    ## CAVEAT EMPTOR:
X    ## There is no encapsulation within the following macros, do not change
X    ## the running order or otherwise move them around unless you know exactly
X    ## what you are doing...
X    _LT_COMPILER_PIC($1)
X    _LT_COMPILER_C_O($1)
X    _LT_COMPILER_FILE_LOCKS($1)
X    _LT_LINKER_SHLIBS($1)
X    _LT_SYS_DYNAMIC_LINKER($1)
X    _LT_LINKER_HARDCODE_LIBPATH($1)
X
X    _LT_CONFIG($1)
X  fi # test -n "$compiler"
X
X  GCC=$lt_save_GCC
X  CC="$lt_save_CC"
fi # test "$_lt_disable_F77" != yes
X
AC_LANG_POP
])# _LT_LANG_F77_CONFIG
X
X
# _LT_PROG_FC
# -----------
# Since AC_PROG_FC is broken, in that it returns the empty string
# if there is no fortran compiler, we have our own version here.
m4_defun([_LT_PROG_FC],
[
pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
AC_PROG_FC
if test -z "$FC" || test "X$FC" = "Xno"; then
X  _lt_disable_FC=yes
fi
popdef([AC_MSG_ERROR])
])# _LT_PROG_FC
X
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([_LT_PROG_FC], [])
X
X
# _LT_LANG_FC_CONFIG([TAG])
# -------------------------
# Ensure that the configuration variables for a Fortran compiler are
# suitably defined.  These variables are subsequently used by _LT_CONFIG
# to write the compiler configuration to `libtool'.
m4_defun([_LT_LANG_FC_CONFIG],
[AC_REQUIRE([_LT_PROG_FC])dnl
AC_LANG_PUSH(Fortran)
X
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_TAGVAR(allow_undefined_flag, $1)=
_LT_TAGVAR(always_export_symbols, $1)=no
_LT_TAGVAR(archive_expsym_cmds, $1)=
_LT_TAGVAR(export_dynamic_flag_spec, $1)=
_LT_TAGVAR(hardcode_direct, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=no
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
_LT_TAGVAR(hardcode_libdir_separator, $1)=
_LT_TAGVAR(hardcode_minus_L, $1)=no
_LT_TAGVAR(hardcode_automatic, $1)=no
_LT_TAGVAR(inherit_rpath, $1)=no
_LT_TAGVAR(module_cmds, $1)=
_LT_TAGVAR(module_expsym_cmds, $1)=
_LT_TAGVAR(link_all_deplibs, $1)=unknown
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
_LT_TAGVAR(no_undefined_flag, $1)=
_LT_TAGVAR(whole_archive_flag_spec, $1)=
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
X
# Source file extension for fc test sources.
ac_ext=${ac_fc_srcext-f}
X
# Object file extension for compiled fc test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# No sense in running all these tests if we already determined that
# the FC compiler isn't working.  Some variables (like enable_shared)
# are currently assumed to apply to all compilers on this platform,
# and will be corrupted by setting them based on a non-working compiler.
if test "$_lt_disable_FC" != yes; then
X  # Code to be used in simple compile tests
X  lt_simple_compile_test_code="\
X      subroutine t
X      return
X      end
"
X
X  # Code to be used in simple link tests
X  lt_simple_link_test_code="\
X      program t
X      end
"
X
X  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
X  _LT_TAG_COMPILER
X
X  # save warnings/boilerplate of simple test code
X  _LT_COMPILER_BOILERPLATE
X  _LT_LINKER_BOILERPLATE
X
X  # Allow CC to be a program name with arguments.
X  lt_save_CC="$CC"
X  lt_save_GCC=$GCC
X  CC=${FC-"f95"}
X  compiler=$CC
X  GCC=$ac_cv_fc_compiler_gnu
X
X  _LT_TAGVAR(compiler, $1)=$CC
X  _LT_CC_BASENAME([$compiler])
X
X  if test -n "$compiler"; then
X    AC_MSG_CHECKING([if libtool supports shared libraries])
X    AC_MSG_RESULT([$can_build_shared])
X
X    AC_MSG_CHECKING([whether to build shared libraries])
X    test "$can_build_shared" = "no" && enable_shared=no
X
X    # On AIX, shared libraries and static libraries use the same namespace, and
X    # are all built from PIC.
X    case $host_os in
X      aix3*)
X        test "$enable_shared" = yes && enable_static=no
X        if test -n "$RANLIB"; then
X          archive_cmds="$archive_cmds~\$RANLIB \$lib"
X          postinstall_cmds='$RANLIB $lib'
X        fi
X        ;;
X      aix[[4-9]]*)
X	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
X	  test "$enable_shared" = yes && enable_static=no
X	fi
X        ;;
X    esac
X    AC_MSG_RESULT([$enable_shared])
X
X    AC_MSG_CHECKING([whether to build static libraries])
X    # Make sure either enable_shared or enable_static is yes.
X    test "$enable_shared" = yes || enable_static=yes
X    AC_MSG_RESULT([$enable_static])
X
X    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
X    _LT_TAGVAR(LD, $1)="$LD"
X
X    ## CAVEAT EMPTOR:
X    ## There is no encapsulation within the following macros, do not change
X    ## the running order or otherwise move them around unless you know exactly
X    ## what you are doing...
X    _LT_SYS_HIDDEN_LIBDEPS($1)
X    _LT_COMPILER_PIC($1)
X    _LT_COMPILER_C_O($1)
X    _LT_COMPILER_FILE_LOCKS($1)
X    _LT_LINKER_SHLIBS($1)
X    _LT_SYS_DYNAMIC_LINKER($1)
X    _LT_LINKER_HARDCODE_LIBPATH($1)
X
X    _LT_CONFIG($1)
X  fi # test -n "$compiler"
X
X  GCC=$lt_save_GCC
X  CC="$lt_save_CC"
fi # test "$_lt_disable_FC" != yes
X
AC_LANG_POP
])# _LT_LANG_FC_CONFIG
X
X
# _LT_LANG_GCJ_CONFIG([TAG])
# --------------------------
# Ensure that the configuration variables for the GNU Java Compiler compiler
# are suitably defined.  These variables are subsequently used by _LT_CONFIG
# to write the compiler configuration to `libtool'.
m4_defun([_LT_LANG_GCJ_CONFIG],
[AC_REQUIRE([LT_PROG_GCJ])dnl
AC_LANG_SAVE
X
# Source file extension for Java test sources.
ac_ext=java
X
# Object file extension for compiled Java test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# Code to be used in simple compile tests
lt_simple_compile_test_code="class foo {}"
X
# Code to be used in simple link tests
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
X
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
_LT_TAG_COMPILER
X
# save warnings/boilerplate of simple test code
_LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE
X
# Allow CC to be a program name with arguments.
lt_save_CC="$CC"
lt_save_GCC=$GCC
GCC=yes
CC=${GCJ-"gcj"}
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_TAGVAR(LD, $1)="$LD"
_LT_CC_BASENAME([$compiler])
X
# GCJ did not exist at the time GCC didn't implicitly link libc in.
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
X
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
X
## CAVEAT EMPTOR:
## There is no encapsulation within the following macros, do not change
## the running order or otherwise move them around unless you know exactly
## what you are doing...
if test -n "$compiler"; then
X  _LT_COMPILER_NO_RTTI($1)
X  _LT_COMPILER_PIC($1)
X  _LT_COMPILER_C_O($1)
X  _LT_COMPILER_FILE_LOCKS($1)
X  _LT_LINKER_SHLIBS($1)
X  _LT_LINKER_HARDCODE_LIBPATH($1)
X
X  _LT_CONFIG($1)
fi
X
AC_LANG_RESTORE
X
GCC=$lt_save_GCC
CC="$lt_save_CC"
])# _LT_LANG_GCJ_CONFIG
X
X
# _LT_LANG_RC_CONFIG([TAG])
# -------------------------
# Ensure that the configuration variables for the Windows resource compiler
# are suitably defined.  These variables are subsequently used by _LT_CONFIG
# to write the compiler configuration to `libtool'.
m4_defun([_LT_LANG_RC_CONFIG],
[AC_REQUIRE([LT_PROG_RC])dnl
AC_LANG_SAVE
X
# Source file extension for RC test sources.
ac_ext=rc
X
# Object file extension for compiled RC test sources.
objext=o
_LT_TAGVAR(objext, $1)=$objext
X
# Code to be used in simple compile tests
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
X
# Code to be used in simple link tests
lt_simple_link_test_code="$lt_simple_compile_test_code"
X
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
_LT_TAG_COMPILER
X
# save warnings/boilerplate of simple test code
_LT_COMPILER_BOILERPLATE
_LT_LINKER_BOILERPLATE
X
# Allow CC to be a program name with arguments.
lt_save_CC="$CC"
lt_save_GCC=$GCC
GCC=
CC=${RC-"windres"}
compiler=$CC
_LT_TAGVAR(compiler, $1)=$CC
_LT_CC_BASENAME([$compiler])
_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
X
if test -n "$compiler"; then
X  :
X  _LT_CONFIG($1)
fi
X
GCC=$lt_save_GCC
AC_LANG_RESTORE
CC="$lt_save_CC"
])# _LT_LANG_RC_CONFIG
X
X
# LT_PROG_GCJ
# -----------
AC_DEFUN([LT_PROG_GCJ],
[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
X  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
X    [AC_CHECK_TOOL(GCJ, gcj,)
X      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
X      AC_SUBST(GCJFLAGS)])])[]dnl
])
X
# Old name:
AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
X
X
# LT_PROG_RC
# ----------
AC_DEFUN([LT_PROG_RC],
[AC_CHECK_TOOL(RC, windres,)
])
X
# Old name:
AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([LT_AC_PROG_RC], [])
X
X
# _LT_DECL_EGREP
# --------------
# If we don't have a new enough Autoconf to choose the best grep
# available, choose the one first in the user's PATH.
m4_defun([_LT_DECL_EGREP],
[AC_REQUIRE([AC_PROG_EGREP])dnl
AC_REQUIRE([AC_PROG_FGREP])dnl
test -z "$GREP" && GREP=grep
_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
_LT_DECL([], [EGREP], [1], [An ERE matcher])
_LT_DECL([], [FGREP], [1], [A literal string matcher])
dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
AC_SUBST([GREP])
])
X
X
# _LT_DECL_OBJDUMP
# --------------
# If we don't have a new enough Autoconf to choose the best objdump
# available, choose the one first in the user's PATH.
m4_defun([_LT_DECL_OBJDUMP],
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
test -z "$OBJDUMP" && OBJDUMP=objdump
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
AC_SUBST([OBJDUMP])
])
X
X
# _LT_DECL_SED
# ------------
# Check for a fully-functional sed program, that truncates
# as few characters as possible.  Prefer GNU sed if found.
m4_defun([_LT_DECL_SED],
[AC_PROG_SED
test -z "$SED" && SED=sed
XXsed="$SED -e 1s/^X//"
_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
X    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
])# _LT_DECL_SED
X
m4_ifndef([AC_PROG_SED], [
############################################################
# NOTE: This macro has been submitted for inclusion into   #
#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
#  a released version of Autoconf we should remove this    #
#  macro and use it instead.                               #
############################################################
X
m4_defun([AC_PROG_SED],
[AC_MSG_CHECKING([for a sed that does not truncate output])
AC_CACHE_VAL(lt_cv_path_SED,
[# Loop through the user's path and test for sed and gsed.
# Then use that list of sed's as ones to test for truncation.
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
X  IFS=$as_save_IFS
X  test -z "$as_dir" && as_dir=.
X  for lt_ac_prog in sed gsed; do
X    for ac_exec_ext in '' $ac_executable_extensions; do
X      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
X        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
X      fi
X    done
X  done
done
IFS=$as_save_IFS
lt_ac_max=0
lt_ac_count=0
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
# along with /bin/sed that truncates output.
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
X  test ! -f $lt_ac_sed && continue
X  cat /dev/null > conftest.in
X  lt_ac_count=0
X  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
X  # Check for GNU sed and select it if it is found.
X  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
X    lt_cv_path_SED=$lt_ac_sed
X    break
X  fi
X  while true; do
X    cat conftest.in conftest.in >conftest.tmp
X    mv conftest.tmp conftest.in
X    cp conftest.in conftest.nl
X    echo >>conftest.nl
X    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
X    cmp -s conftest.out conftest.nl || break
X    # 10000 chars as input seems more than enough
X    test $lt_ac_count -gt 10 && break
X    lt_ac_count=`expr $lt_ac_count + 1`
X    if test $lt_ac_count -gt $lt_ac_max; then
X      lt_ac_max=$lt_ac_count
X      lt_cv_path_SED=$lt_ac_sed
X    fi
X  done
done
])
SED=$lt_cv_path_SED
AC_SUBST([SED])
AC_MSG_RESULT([$SED])
])#AC_PROG_SED
])#m4_ifndef
X
# Old name:
AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
dnl aclocal-1.4 backwards compatibility:
dnl AC_DEFUN([LT_AC_PROG_SED], [])
X
X
# _LT_CHECK_SHELL_FEATURES
# ------------------------
# Find out whether the shell is Bourne or XSI compatible,
# or has some other useful features.
m4_defun([_LT_CHECK_SHELL_FEATURES],
[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
X  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
X      = c,a/b,, \
X    && eval 'test $(( 1 + 1 )) -eq 2 \
X    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
X  && xsi_shell=yes
AC_MSG_RESULT([$xsi_shell])
_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
X
AC_MSG_CHECKING([whether the shell understands "+="])
lt_shell_append=no
( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
X    >/dev/null 2>&1 \
X  && lt_shell_append=yes
AC_MSG_RESULT([$lt_shell_append])
_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
X
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
X  lt_unset=unset
else
X  lt_unset=false
fi
_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
X
# test EBCDIC or ASCII
case `echo X|tr X '\101'` in
X A) # ASCII based system
X    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
X  lt_SP2NL='tr \040 \012'
X  lt_NL2SP='tr \015\012 \040\040'
X  ;;
X *) # EBCDIC based system
X  lt_SP2NL='tr \100 \n'
X  lt_NL2SP='tr \r\n \100\100'
X  ;;
esac
_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
])# _LT_CHECK_SHELL_FEATURES
X
X
# _LT_PROG_XSI_SHELLFNS
# ---------------------
# Bourne and XSI compatible variants of some useful shell functions.
m4_defun([_LT_PROG_XSI_SHELLFNS],
[case $xsi_shell in
X  yes)
X    cat << \_LT_EOF >> "$cfgfile"
X
# func_dirname file append nondir_replacement
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
# otherwise set result to NONDIR_REPLACEMENT.
func_dirname ()
{
X  case ${1} in
X    */*) func_dirname_result="${1%/*}${2}" ;;
X    *  ) func_dirname_result="${3}" ;;
X  esac
}
X
# func_basename file
func_basename ()
{
X  func_basename_result="${1##*/}"
}
X
# func_dirname_and_basename file append nondir_replacement
# perform func_basename and func_dirname in a single function
# call:
#   dirname:  Compute the dirname of FILE.  If nonempty,
#             add APPEND to the result, otherwise set result
#             to NONDIR_REPLACEMENT.
#             value returned in "$func_dirname_result"
#   basename: Compute filename of FILE.
#             value retuned in "$func_basename_result"
# Implementation must be kept synchronized with func_dirname
# and func_basename. For efficiency, we do not delegate to
# those functions but instead duplicate the functionality here.
func_dirname_and_basename ()
{
X  case ${1} in
X    */*) func_dirname_result="${1%/*}${2}" ;;
X    *  ) func_dirname_result="${3}" ;;
X  esac
X  func_basename_result="${1##*/}"
}
X
# func_stripname prefix suffix name
# strip PREFIX and SUFFIX off of NAME.
# PREFIX and SUFFIX must not contain globbing or regex special
# characters, hashes, percent signs, but SUFFIX may contain a leading
# dot (in which case that matches only a dot).
func_stripname ()
{
X  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
X  # positional parameters, so assign one to ordinary parameter first.
X  func_stripname_result=${3}
X  func_stripname_result=${func_stripname_result#"${1}"}
X  func_stripname_result=${func_stripname_result%"${2}"}
}
X
# func_opt_split
func_opt_split ()
{
X  func_opt_split_opt=${1%%=*}
X  func_opt_split_arg=${1#*=}
}
X
# func_lo2o object
func_lo2o ()
{
X  case ${1} in
X    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
X    *)    func_lo2o_result=${1} ;;
X  esac
}
X
# func_xform libobj-or-source
func_xform ()
{
X  func_xform_result=${1%.*}.lo
}
X
# func_arith arithmetic-term...
func_arith ()
{
X  func_arith_result=$(( $[*] ))
}
X
# func_len string
# STRING may not start with a hyphen.
func_len ()
{
X  func_len_result=${#1}
}
X
_LT_EOF
X    ;;
X  *) # Bourne compatible functions.
X    cat << \_LT_EOF >> "$cfgfile"
X
# func_dirname file append nondir_replacement
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
# otherwise set result to NONDIR_REPLACEMENT.
func_dirname ()
{
X  # Extract subdirectory from the argument.
X  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
X  if test "X$func_dirname_result" = "X${1}"; then
X    func_dirname_result="${3}"
X  else
X    func_dirname_result="$func_dirname_result${2}"
X  fi
}
X
# func_basename file
func_basename ()
{
X  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
}
X
dnl func_dirname_and_basename
dnl A portable version of this function is already defined in general.m4sh
dnl so there is no need for it here.
X
# func_stripname prefix suffix name
# strip PREFIX and SUFFIX off of NAME.
# PREFIX and SUFFIX must not contain globbing or regex special
# characters, hashes, percent signs, but SUFFIX may contain a leading
# dot (in which case that matches only a dot).
# func_strip_suffix prefix name
func_stripname ()
{
X  case ${2} in
X    .*) func_stripname_result=`$ECHO "X${3}" \
X           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
X    *)  func_stripname_result=`$ECHO "X${3}" \
X           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
X  esac
}
X
# sed scripts:
my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
my_sed_long_arg='1s/^-[[^=]]*=//'
X
# func_opt_split
func_opt_split ()
{
X  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
X  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
}
X
# func_lo2o object
func_lo2o ()
{
X  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
}
X
# func_xform libobj-or-source
func_xform ()
{
X  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
}
X
# func_arith arithmetic-term...
func_arith ()
{
X  func_arith_result=`expr "$[@]"`
}
X
# func_len string
# STRING may not start with a hyphen.
func_len ()
{
X  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
}
X
_LT_EOF
esac
X
case $lt_shell_append in
X  yes)
X    cat << \_LT_EOF >> "$cfgfile"
X
# func_append var value
# Append VALUE to the end of shell variable VAR.
func_append ()
{
X  eval "$[1]+=\$[2]"
}
_LT_EOF
X    ;;
X  *)
X    cat << \_LT_EOF >> "$cfgfile"
X
# func_append var value
# Append VALUE to the end of shell variable VAR.
func_append ()
{
X  eval "$[1]=\$$[1]\$[2]"
}
X
_LT_EOF
X    ;;
X  esac
])
SHAR_EOF
  (set 20 10 11 20 23 57 23 'gnucash/macros/libtool.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/libtool.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/libtool.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/libtool.m4': 'MD5 check failed'
       ) << \SHAR_EOF
68fe61a1c267bdd1a7a0f0aa7efedaa5  gnucash/macros/libtool.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/libtool.m4'` -ne 260519 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/libtool.m4' is not 260519"
  fi
fi
# ============= gnucash/macros/compiler-flags.m4 ==============
if test -f 'gnucash/macros/compiler-flags.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/compiler-flags.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/compiler-flags.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/compiler-flags.m4' &&
dnl GNOME_COMPILE_WARNINGS
dnl Turn on many useful compiler warnings
dnl For now, only works on GCC
AC_DEFUN([GNOME_COMPILE_WARNINGS],[
X  AC_ARG_ENABLE(compile-warnings, 
X    [  --enable-compile-warnings=[no/minimum/yes]	Turn on compiler warnings.],,enable_compile_warnings=minimum)
X
X  AC_MSG_CHECKING(what warning flags to pass to the C compiler)
X  warnCFLAGS=
X  if test "x$GCC" != xyes; then
X    enable_compile_warnings=no
X  fi
X
X  if test "x$enable_compile_warnings" != "xno"; then
X    if test "x$GCC" = "xyes"; then
X      case " $CFLAGS " in
X      *[\ \	]-Wall[\ \	]*) ;;
X      *) warnCFLAGS="-Wall -Wunused" ;;
X      esac
X
X      ## -W is not all that useful.  And it cannot be controlled
X      ## with individual -Wno-xxx flags, unlike -Wall
X      if test "x$enable_compile_warnings" = "xyes"; then
X	warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"
X      fi
X    fi
X  fi
X  AC_MSG_RESULT($warnCFLAGS)
X
X  AC_ARG_ENABLE(iso-c,
X    [  --enable-iso-c          Try to warn if code is not ISO C ],,
X    enable_iso_c=no)
X
X  AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
X  complCFLAGS=
X  if test "x$enable_iso_c" != "xno"; then
X    if test "x$GCC" = "xyes"; then
X      case " $CFLAGS " in
X      *[\ \	]-ansi[\ \	]*) ;;
X      *) complCFLAGS="$complCFLAGS -ansi" ;;
X      esac
X
X      case " $CFLAGS " in
X      *[\ \	]-pedantic[\ \	]*) ;;
X      *) complCFLAGS="$complCFLAGS -pedantic" ;;
X      esac
X    fi
X  fi
X  AC_MSG_RESULT($complCFLAGS)
X  if test "x$cflags_set" != "xyes"; then
X    CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS"
X    cflags_set=yes
X    AC_SUBST(cflags_set)
X  fi
])
X
dnl For C++, do basically the same thing.
X
AC_DEFUN([GNOME_CXX_WARNINGS],[
X  AC_ARG_ENABLE(cxx-warnings, 
X    [  --enable-cxx-warnings=[no/minimum/yes]	Turn on compiler warnings.],,enable_cxx_warnings=minimum)
X
X  AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
X  warnCXXFLAGS=
X  if test "x$GCC" != xyes; then
X    enable_compile_warnings=no
X  fi
X  if test "x$enable_cxx_warnings" != "xno"; then
X    if test "x$GCC" = "xyes"; then
X      case " $CXXFLAGS " in
X      *[\ \	]-Wall[\ \	]*) ;;
X      *) warnCXXFLAGS="-Wall -Wno-unused" ;;
X      esac
X
X      ## -W is not all that useful.  And it cannot be controlled
X      ## with individual -Wno-xxx flags, unlike -Wall
X      if test "x$enable_cxx_warnings" = "xyes"; then
X	warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wshadow -Woverloaded-virtual"
X      fi
X    fi
X  fi
X  AC_MSG_RESULT($warnCXXFLAGS)
X
X   AC_ARG_ENABLE(iso-cxx,
X     [  --enable-iso-cxx          Try to warn if code is not ISO C++ ],,
X     enable_iso_cxx=no)
X
X   AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
X   complCXXFLAGS=
X   if test "x$enable_iso_cxx" != "xno"; then
X     if test "x$GCC" = "xyes"; then
X      case " $CXXFLAGS " in
X      *[\ \	]-ansi[\ \	]*) ;;
X      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
X      esac
X
X      case " $CXXFLAGS " in
X      *[\ \	]-pedantic[\ \	]*) ;;
X      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
X      esac
X     fi
X   fi
X  AC_MSG_RESULT($complCXXFLAGS)
X  if test "x$cxxflags_set" != "xyes"; then
X    CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
X    cxxflags_set=yes
X    AC_SUBST(cxxflags_set)
X  fi
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/compiler-flags.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/compiler-flags.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/compiler-flags.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/compiler-flags.m4': 'MD5 check failed'
       ) << \SHAR_EOF
6121813baa5fc996af5b1bb4b40b7673  gnucash/macros/compiler-flags.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/compiler-flags.m4'` -ne 3255 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/compiler-flags.m4' is not 3255"
  fi
fi
# ============= gnucash/macros/ltsugar.m4 ==============
if test -f 'gnucash/macros/ltsugar.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/ltsugar.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/ltsugar.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/ltsugar.m4' &&
# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
#
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2004
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
X
# serial 6 ltsugar.m4
X
# This is to help aclocal find these macros, as it can't see m4_define.
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
X
X
# lt_join(SEP, ARG1, [ARG2...])
# -----------------------------
# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
# associated separator.
# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
# versions in m4sugar had bugs.
m4_define([lt_join],
[m4_if([$#], [1], [],
X       [$#], [2], [[$2]],
X       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
m4_define([_lt_join],
[m4_if([$#$2], [2], [],
X       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
X
X
# lt_car(LIST)
# lt_cdr(LIST)
# ------------
# Manipulate m4 lists.
# These macros are necessary as long as will still need to support
# Autoconf-2.59 which quotes differently.
m4_define([lt_car], [[$1]])
m4_define([lt_cdr],
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
X       [$#], 1, [],
X       [m4_dquote(m4_shift($@))])])
m4_define([lt_unquote], $1)
X
X
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
# ------------------------------------------
# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
# Note that neither SEPARATOR nor STRING are expanded; they are appended
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
# than defined and empty).
#
# This macro is needed until we can rely on Autoconf 2.62, since earlier
# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
m4_define([lt_append],
[m4_define([$1],
X	   m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
X
X
X
# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
# ----------------------------------------------------------
# Produce a SEP delimited list of all paired combinations of elements of
# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
# has the form PREFIXmINFIXSUFFIXn.
# Needed until we can rely on m4_combine added in Autoconf 2.62.
m4_define([lt_combine],
[m4_if(m4_eval([$# > 3]), [1],
X       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
[[m4_foreach([_Lt_prefix], [$2],
X	     [m4_foreach([_Lt_suffix],
X		]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
X	[_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
X
X
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
# -----------------------------------------------------------------------
# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
m4_define([lt_if_append_uniq],
[m4_ifdef([$1],
X	  [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
X		 [lt_append([$1], [$2], [$3])$4],
X		 [$5])],
X	  [lt_append([$1], [$2], [$3])$4])])
X
X
# lt_dict_add(DICT, KEY, VALUE)
# -----------------------------
m4_define([lt_dict_add],
[m4_define([$1($2)], [$3])])
X
X
# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
# --------------------------------------------
m4_define([lt_dict_add_subkey],
[m4_define([$1($2:$3)], [$4])])
X
X
# lt_dict_fetch(DICT, KEY, [SUBKEY])
# ----------------------------------
m4_define([lt_dict_fetch],
[m4_ifval([$3],
X	m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
X    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
X
X
# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
# -----------------------------------------------------------------
m4_define([lt_if_dict_fetch],
[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
X	[$5],
X    [$6])])
X
X
# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
# --------------------------------------------------------------
m4_define([lt_dict_filter],
[m4_if([$5], [], [],
X  [lt_join(m4_quote(m4_default([$4], [[, ]])),
X           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
X		      [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
])
SHAR_EOF
  (set 20 10 11 20 23 57 23 'gnucash/macros/ltsugar.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/ltsugar.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/ltsugar.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/ltsugar.m4': 'MD5 check failed'
       ) << \SHAR_EOF
bc2f6032c98896249eadb56177c7d357  gnucash/macros/ltsugar.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/ltsugar.m4'` -ne 4372 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/ltsugar.m4' is not 4372"
  fi
fi
# ============= gnucash/macros/binreloc.m4 ==============
if test -f 'gnucash/macros/binreloc.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/binreloc.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/binreloc.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/binreloc.m4' &&
# Check for binary relocation support.
# Written by Hongli Lai
# http://autopackage.org/
X
AC_DEFUN([AM_BINRELOC],
[
X	AC_ARG_ENABLE(binreloc,
X		[  --enable-binreloc       compile with binary relocation support
X                          (default=enable when available)],
X		enable_binreloc=$enableval,enable_binreloc=auto)
X
X	AC_ARG_ENABLE(binreloc-threads,
X		[  --enable-binreloc-threads      compile binary relocation with threads support
X	                         (default=yes)],
X		enable_binreloc_threads=$enableval,enable_binreloc_threads=yes)
X
X	BINRELOC_CFLAGS=
X	BINRELOC_LIBS=
X	if test "x$enable_binreloc" = "xauto"; then
X		AC_CHECK_FILE([/proc/self/maps])
X		AC_CACHE_CHECK([whether everything is installed to the same prefix],
X			       [br_cv_valid_prefixes], [
X				# datarootdir variables was introduced with autoconf-2.60
X				if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
X					\( "$datadir" = '${prefix}/share' -o \( "$datadir" = '${datarootdir}' -a "$datarootdir" = '${prefix}/share' \) \) -a \
X					"$libdir" = '${exec_prefix}/lib' -a \
X					"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
X				then
X					br_cv_valid_prefixes=yes
X				else
X					br_cv_valid_prefixes=no
X				fi
X				])
X	fi
X	AC_CACHE_CHECK([whether binary relocation support should be enabled],
X		       [br_cv_binreloc],
X		       [if test "x$enable_binreloc" = "xyes"; then
X		       	       br_cv_binreloc=yes
X		       elif test "x$enable_binreloc" = "xauto"; then
X			       if test "x$br_cv_valid_prefixes" = "xyes" -a \
X			       	       "x$ac_cv_file__proc_self_maps" = "xyes"; then
X				       br_cv_binreloc=yes
X			       else
X				       br_cv_binreloc=no
X			       fi
X		       else
X			       br_cv_binreloc=no
X		       fi])
X
X	if test "x$br_cv_binreloc" = "xyes"; then
X		BINRELOC_CFLAGS="-DENABLE_BINRELOC"
X		AC_DEFINE(ENABLE_BINRELOC,,[Use binary relocation?])
X		if test "x$enable_binreloc_threads" = "xyes"; then
X			AC_CHECK_LIB([pthread], [pthread_getspecific])
X		fi
X
X		AC_CACHE_CHECK([whether binary relocation should use threads],
X			       [br_cv_binreloc_threads],
X			       [if test "x$enable_binreloc_threads" = "xyes"; then
X					if test "x$ac_cv_lib_pthread_pthread_getspecific" = "xyes"; then
X						br_cv_binreloc_threads=yes
X					else
X						br_cv_binreloc_threads=no
X					fi
X			        else
X					br_cv_binreloc_threads=no
X				fi])
X
X		if test "x$br_cv_binreloc_threads" = "xyes"; then
X			BINRELOC_LIBS="-lpthread"
X			AC_DEFINE(BR_PTHREAD,1,[Include pthread support for binary relocation?])
X		else
X			BINRELOC_CFLAGS="$BINRELOC_CFLAGS -DBR_PTHREADS=0"
X			AC_DEFINE(BR_PTHREAD,0,[Include pthread support for binary relocation?])
X		fi
X	fi
X	AC_SUBST(BINRELOC_CFLAGS)
X	AC_SUBST(BINRELOC_LIBS)
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/binreloc.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/binreloc.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/binreloc.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/binreloc.m4': 'MD5 check failed'
       ) << \SHAR_EOF
2ea6ac4f16add9604671a0eb3e8e4c77  gnucash/macros/binreloc.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/binreloc.m4'` -ne 2743 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/binreloc.m4' is not 2743"
  fi
fi
# ============= gnucash/macros/ac_python_devel.m4 ==============
if test -f 'gnucash/macros/ac_python_devel.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/ac_python_devel.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/ac_python_devel.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/ac_python_devel.m4' &&
dnl @synopsis AC_PYTHON_DEVEL
dnl
dnl Checks for Python and tries to get the include path to 'Python.h'.
dnl It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LDFLAGS) output
dnl variable.
dnl
dnl @category InstalledPackages
dnl @author Sebastian Huber <sebastian-huber@web.de>
dnl @author Alan W. Irwin <irwin@beluga.phys.uvic.ca>
dnl @author Rafael Laboissiere <laboissiere@psy.mpg.de>
dnl @author Andrew Collier <colliera@nu.ac.za>
dnl @version 2004-07-14
dnl @license GPLWithACException
X
AC_DEFUN([AC_PYTHON_DEVEL],[
X	#
X	# should allow for checking of python version here...
X	#
X	AC_REQUIRE([AM_PATH_PYTHON])
X
X	# Check for Python include path
X	AC_MSG_CHECKING([for Python include path])
X	python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
X	for i in "$python_path/include/python$PYTHON_VERSION/" "$python_path/include/python/" "$python_path/" ; do
X		python_path=`find $i -type f -name Python.h -print | sed "1q"`
X		if test -n "$python_path" ; then
X			break
X		fi
X	done
X	python_path=`echo $python_path | sed "s,/Python.h$,,"`
X	AC_MSG_RESULT([$python_path])
X	if test -z "$python_path" ; then
X		AC_MSG_ERROR([cannot find Python include path])
X	fi
X	AC_SUBST([PYTHON_CPPFLAGS],[-I$python_path])
X
X	# Check for Python library path
X	AC_MSG_CHECKING([for Python library path])
X	python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
X	for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
X		python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
X		if test -n "$python_path" ; then
X			break
X		fi
X	done
X	python_path=`echo $python_path | sed "s,/libpython.*$,,"`
X	AC_MSG_RESULT([$python_path])
X	if test -z "$python_path" ; then
X		AC_MSG_ERROR([cannot find Python library path])
X	fi
X	AC_SUBST([PYTHON_LDFLAGS],["-L$python_path -lpython$PYTHON_VERSION"])
X	#
X	python_site=`echo $python_path | sed "s/config/site-packages/"`
X	AC_SUBST([PYTHON_SITE_PKG],[$python_site])
X	#
X	# libraries which must be linked in when embedding
X	#
X	AC_MSG_CHECKING(python extra libraries)
X	PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
X                conf = distutils.sysconfig.get_config_var; \
X                print conf('LOCALMODLIBS')+' '+conf('LIBS')"
X	AC_MSG_RESULT($PYTHON_EXTRA_LIBS)`
X	AC_SUBST(PYTHON_EXTRA_LIBS)
])
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/ac_python_devel.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/ac_python_devel.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/ac_python_devel.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/ac_python_devel.m4': 'MD5 check failed'
       ) << \SHAR_EOF
1d1a4fdb5a28dc528b5738d6f3797651  gnucash/macros/ac_python_devel.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/ac_python_devel.m4'` -ne 2344 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/ac_python_devel.m4' is not 2344"
  fi
fi
# ============= gnucash/macros/pkg.m4 ==============
if test -f 'gnucash/macros/pkg.m4' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/macros/pkg.m4 (file already exists)"
else
${echo} "x - extracting gnucash/macros/pkg.m4 (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/macros/pkg.m4' &&
dnl This was originally from pkgconfig
dnl modified for GnuCash to make it more quiet
dnl in the face of missing config files.
dnl also, pkg-config --errors-to-stdout does not work as advertized on FC3
dnl so we need to redirect stderr to stdout.
X
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
AC_DEFUN([PKG_CHECK_MODULES], [
X  succeeded=no
X
X  if test -z "$PKG_CONFIG"; then
X    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
X  fi
X
X  if test "$PKG_CONFIG" = "no" ; then
X     echo "*** The pkg-config script could not be found. Make sure it is"
X     echo "*** in your path, or set the PKG_CONFIG environment variable"
X     echo "*** to the full path to pkg-config."
X     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
X  else
X     pkg_config_min_version=0.9.0
X     if $PKG_CONFIG --atleast-pkgconfig-version $pkg_config_min_version; then
X        AC_MSG_CHECKING(for $2)
X
X        if $PKG_CONFIG --silence-errors --exists "$2" ; then
X            AC_MSG_RESULT(yes)
X            succeeded=yes
X
X            AC_MSG_CHECKING($1_CFLAGS)
X            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
X            AC_MSG_RESULT($$1_CFLAGS)
X
X            AC_MSG_CHECKING($1_LIBS)
X            $1_LIBS=`$PKG_CONFIG --libs "$2"`
X            AC_MSG_RESULT($$1_LIBS)
X        else
X            AC_MSG_RESULT(no)
X            $1_CFLAGS=""
X            $1_LIBS=""
X            ## If we have a custom action on failure, don't print errors, but 
X            ## do set a variable so people can do so.
X            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2" 2>&1`
X            ifelse([$4], ,echo $$1_PKG_ERRORS,)
X        fi
X
X        AC_SUBST($1_CFLAGS)
X        AC_SUBST($1_LIBS)
X     else
X        echo "*** Your version of pkg-config is too old. You need version $pkg_config_min_version or newer."
X        echo "*** See http://www.freedesktop.org/software/pkgconfig"
X     fi
X  fi
X
X  if test $succeeded = yes; then
X     ifelse([$3], , :, [$3])
X  else
X     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
X  fi
])
X
X
SHAR_EOF
  (set 20 10 03 26 15 09 53 'gnucash/macros/pkg.m4'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/macros/pkg.m4'
if test $? -ne 0
then ${echo} "restore of gnucash/macros/pkg.m4 failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/macros/pkg.m4': 'MD5 check failed'
       ) << \SHAR_EOF
1d96e1be6661b3f755311507a50b2b50  gnucash/macros/pkg.m4
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/macros/pkg.m4'` -ne 2326 && \
  ${echo} "restoration warning:  size of 'gnucash/macros/pkg.m4' is not 2326"
  fi
fi
# ============= gnucash/packaging/win32/Makefile.am ==============
if test ! -d 'gnucash/packaging'; then
  mkdir 'gnucash/packaging'
if test $? -eq 0
then ${echo} "x - created directory gnucash/packaging."
else ${echo} "x - failed to create directory gnucash/packaging."
     exit 1
fi
fi
if test ! -d 'gnucash/packaging/win32'; then
  mkdir 'gnucash/packaging/win32'
if test $? -eq 0
then ${echo} "x - created directory gnucash/packaging/win32."
else ${echo} "x - failed to create directory gnucash/packaging/win32."
     exit 1
fi
fi
if test -f 'gnucash/packaging/win32/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/packaging/win32/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/packaging/win32/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/packaging/win32/Makefile.am' &&
EXTRA_DIST = \
X  README \
X  defaults.sh \
X  dist.sh \
X  exetype.pl \
X  functions.sh \
X  goffice-0.7.2-patch.diff \
X  gwenhywfar-3.6.0-patch.diff \
X  install.sh \
X  install-fq-mods.cmd \
X  libmysql.def \
X  libofx-0.8.3-patch.diff \
X  opensp-1.5.2-patch.diff \
X  pi.sh \
X  ChineseSimp-12-5.1.11.isl \
X  Greek-4-5.1.11.isl \
X  Japanese-5-5.1.11.isl \
X  Latvian-1-5.1.11.isl \
X  reset.sh
X
if OS_WIN32
X  bin_PROGRAMS = redirect
X  redirect_SOURCES = redirect.c
X  redirect_LDADD = $(GLIB_LIBS)
X  AM_CPPFLAGS = $(GLIB_CFLAGS)
X  pkgdata_DATA = ChineseSimp-12-5.1.11.isl
X  pkgdata_DATA += Greek-4-5.1.11.isl
X  pkgdata_DATA += Japanese-5-5.1.11.isl
X  pkgdata_DATA += Latvian-1-5.1.11.isl
else
X  EXTRA_DIST += redirect.c
endif
SHAR_EOF
  (set 20 10 06 19 21 09 28 'gnucash/packaging/win32/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/packaging/win32/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/packaging/win32/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/packaging/win32/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d69cf2d5806d2d1887f17c37ac9db99b  gnucash/packaging/win32/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/packaging/win32/Makefile.am'` -ne 715 && \
  ${echo} "restoration warning:  size of 'gnucash/packaging/win32/Makefile.am' is not 715"
  fi
fi
# ============= gnucash/packaging/Makefile.am ==============
if test -f 'gnucash/packaging/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/packaging/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/packaging/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/packaging/Makefile.am' &&
SUBDIRS = win32
X
EXTRA_DIST = \
X  gnucash-2.1.x.ebuild \
X  gnucash.spec.in \
X  gnucash.spec
X
all-local: gnucash.spec
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.  *sigh*
gnucash.spec: gnucash.spec.in Makefile ${top_builddir}/config.status
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-VERSION-@:${VERSION}:'
X	mv $@.tmp $@
X
DISTCLEANFILES = gnucash.spec
SHAR_EOF
  (set 20 10 03 26 15 09 52 'gnucash/packaging/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/packaging/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/packaging/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/packaging/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4d771f88b3866e77ad345c1d5f636bfc  gnucash/packaging/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/packaging/Makefile.am'` -ne 551 && \
  ${echo} "restoration warning:  size of 'gnucash/packaging/Makefile.am' is not 551"
  fi
fi
# ============= gnucash/Makefile.am ==============
if test -f 'gnucash/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/Makefile.am' &&
X
SUBDIRS = . doc lib src intl-scm packaging po accounts checks
X
docdir = ${GNC_DOC_INSTALL_DIR}
X
GNC_CTAGS_FILE = @GNC_CTAGS_FILE@
GNC_ETAGS_FILE = @GNC_ETAGS_FILE@
X
noinst_DATA = make-gnucash-potfiles
X
dist_doc_DATA = \
X  AUTHORS \
X  COPYING \
X  ChangeLog \
X  ChangeLog.2009 \
X  ChangeLog.2008 \
X  ChangeLog.2007 \
X  ChangeLog.2006 \
X  ChangeLog.2005 \
X  ChangeLog.2004 \
X  ChangeLog.2003 \
X  DOCUMENTERS \
X  HACKING \
X  INSTALL \
X  LICENSE \
X  NEWS \
X  README \
X  README.dependencies
X
# All the other files that go in the distribution tarfile that aren't
# included some other way...
X
# Most directories handle their own EXTRA_DIST setting, but for some,
# it's not worth the trouble and for others, there's no Makefile.am
# (i.e. ./intl and ./po -- these handle their own Makefile.in and
# Makefile.in.in files...), so we list their files here.
X
# Don't list any directories or you'll get *everything*, including the
# CVS dirs.
X
EXTRA_DIST = \
X  make-gnucash-potfiles.in \
X  macros/aqbanking.m4 \
X  macros/as-scrub-include.m4 \
X  macros/binreloc.m4 \
X  macros/compiler-flags.m4 \
X  macros/ac_pkg_swig.m4 \
X  macros/gnome-guile-checks.m4 \
X  macros/legacy_macros.m4 \
X  po/gnucash.pot \
X  po/POTFILES.in \
X  po/POTFILES.skip \
X  po/POTFILES.ignore \
X  po/README \
X  po/glossary/bg.po \
X  po/glossary/ca.po \
X  po/glossary/da.po \
X  po/glossary/de.po \
X  po/glossary/el.po \
X  po/glossary/es.po \
X  po/glossary/es_NI-policy.txt \
X  po/glossary/fr.po \
X  po/glossary/gnc-glossary.txt \
X  po/glossary/he.po \
X  po/glossary/hu.po \
X  po/glossary/it.po \
X  po/glossary/nb.po \
X  po/glossary/nl.po \
X  po/glossary/pl.po \
X  po/glossary/pt.po \
X  po/glossary/pt_BR.po \
X  po/glossary/ru.po \
X  po/glossary/rw.po \
X  po/glossary/sk.po \
X  po/glossary/sv.po \
X  po/glossary/txt-to-pot.sh \
X  po/glossary/vi.po \
X  po/glossary/zh_CN.po \
X  po/glossary/zh_TW.po \
X  intltool-extract.in \
X  intltool-merge.in \
X  intltool-update.in \
X  util/gnc-svnversion
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
make-gnucash-potfiles: make-gnucash-potfiles.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-SRCDIR-@:${srcdir}:g' \
X            -e 's:@-PERL-@:${PERL}:g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
DISTCLEANFILES = \
X  intltool-extract intltool-update intltool-merge\
X  cscope.files cscope.out etags.files \
X  make-gnucash-potfiles po/.intltool-merge-cache
X
cscope.files:
X	find src lib -name '*.[ch]' > cscope.files
if GNUCASH_SEPARATE_BUILDDIR
X	find ${srcdir}/src ${srcdir}/lib -name '*.[ch]' >> cscope.files
endif
X
${srcdir}/cscope.out: cscope.files
X	cscope -b -f ${srcdir}/cscope.out
X
X
# make sure etags.files is up to date.
# and use the contents of etags.files to re-make TAGS if needed.
etags:
if GNC_ETAGS_FILE
X	${MAKE} -f Makefile.TAGS etags.files
X	${MAKE} -f Makefile.TAGS TAGS
else
X	@echo "You must ./configure with --enable-etags to use etags."
endif
X
X
# make sure etags.files is up to date.
# and use the contents of etags.files to re-make tags if needed.
ctags:
if GNC_CTAGS_FILE
X	${MAKE} -f Makefile.TAGS etags.files
X	${MAKE} -f Makefile.TAGS tags
else
X	@echo "You must ./configure with --enable-ctags to use ctags."
endif
X
X.PHONY: etags ctags
X
ACLOCAL_AMFLAGS = -I macros
X
X.PHONY: doc
doc:
X	$(MAKE) -C src/doc doc
X
distcleancheck_listfiles = \
X  find -type f -exec sh -c 'test -f ${srcdir}/{} || echo {}' ';'
distuninstallcheck_listfiles = \
X  find . -type f -print | grep -v ./share/icons/hicolor/icon-theme.cache | grep -v ./share/info/dir
X
#dist-hook: po/POTFILES.in
X
distcheck-hook:
X	@e=''; \
X	for X in `grep -v \# ${distdir}/po/POTFILES.in` ; do \
X		if [ ! -f ${distdir}/$$X ] ; then \
X			echo $$X " is in POTFILES.in but not in the dist."; \
X			e='yes'; \
X		fi; \
X	done; \
X	for X in `grep -v \# ${distdir}/po/POTFILES.skip` ; do \
X		if [ -f ${distdir}/$$X ] ; then \
X			echo $$X " is in POTFILES.skip but also in the dist.";\
X			e='yes'; \
X		fi; \
X	done; \
X	if test "$$e" = "yes" ; then exit 1; fi;
X
distclean-local:
X
libtool: $(LIBTOOL_DEPS)
X	$(SHELL) ./config.status --recheck
X
X.PHONY: pot
pot: Makefile po/POTFILES.in
X	rm -f intl-scm/guile-strings.c
X	${MAKE} -C intl-scm
X	rm -f po/$(PACKAGE).pot
X	${MAKE} -C po $(PACKAGE).pot
X
X
$(srcdir)/po/POTFILES.in: make-gnucash-potfiles .potfiles
X	if test -w $(srcdir)/po/POTFILES.in ; then ./make-gnucash-potfiles > $(srcdir)/po/POTFILES.in ; fi
X
# Creation rules so that po/gnucash.pot can always be created for
# make dist.
po/gnucash.pot: po/POTFILES.in intl-scm/guile-strings.c
X	${MAKE} -C po gnucash.pot
intl-scm/guile-strings.c:
X	${MAKE} -C intl-scm guile-strings.c
X
X.potfiles:
X
SVN = svn
XXSLTPROC = xsltproc
X
if BUILDING_FROM_SVN
# This rule will generate a ChangeLog of gnucash/trunk commits, plus
# all additional branches that are added in
# ./macros/svn2cl.xsl. (FIXME: Is the dependency on NEWS really a good
# idea? Before a release, NEWS will get updated because of the version
# change, so this should fit just fine.)
ChangeLog: NEWS
X	$(SVN) log -v --xml -r HEAD:18543 http://svn.gnucash.org/repo/gnucash | \
X	  $(XSLTPROC) --stringparam strip-prefix "gnucash/trunk" \
X	  --stringparam include-rev "yes" $(srcdir)/macros/svn2cl.xsl - > $@
endif
X
ASTYLE = /usr/bin/astyle
X.PHONY: indent
indent:
X	$(ASTYLE) --indent=spaces=4 --brackets=break --suffix=none `find ${srcdir}/src -name '*.[hc]'`
# Use the following line if you've got astyle-1.24, but don't use
# --pad=oper with astyle 1.22 as it will reformat e.g. "return +1;" in
# a very ugly way.
#	$(ASTYLE) --indent=spaces=4 --brackets=break --pad-oper -pad-header --suffix=none `find ${srcdir}/src -name '*.[hc]'`
X	@echo "### GnuCash development hint: The above command might have re-indented much more files than what you intended. Please commit only those which you really want to have changed, and revert the changes in the others so that other devevelopers do not have unnecessary merge conflicts. Thanks! ###"
SHAR_EOF
  (set 20 10 07 31 17 42 50 'gnucash/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
087442ff5e49e9c11a3448d9a75e4113  gnucash/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/Makefile.am'` -ne 6035 && \
  ${echo} "restoration warning:  size of 'gnucash/Makefile.am' is not 6035"
  fi
fi
# ============= gnucash/src/app-utils/Makefile.am ==============
if test ! -d 'gnucash/src'; then
  mkdir 'gnucash/src'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src."
else ${echo} "x - failed to create directory gnucash/src."
     exit 1
fi
fi
if test ! -d 'gnucash/src/app-utils'; then
  mkdir 'gnucash/src/app-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/app-utils."
else ${echo} "x - failed to create directory gnucash/src/app-utils."
     exit 1
fi
fi
if test -f 'gnucash/src/app-utils/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/app-utils/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/app-utils/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/app-utils/Makefile.am' &&
# This program is free software; you can redistribute it and/or    
# modify it under the terms of the GNU General Public License as   
# published by the Free Software Foundation; either version 2 of   
# the License, or (at your option) any later version.              
#                                                                  
# This program is distributed in the hope that it will be useful,  
# but WITHOUT ANY WARRANTY; without even the implied warranty of   
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    
# GNU General Public License for more details.                     
#                                                                  
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact:
#
# Free Software Foundation           Voice:  +1-617-542-5942
# 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
# Boston, MA  02110-1301,  USA       gnu@gnu.org
X
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-app-utils.la
X
AM_CPPFLAGS = \
X  -I$(top_srcdir)/lib/libc \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/calculation \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GCONF_CFLAGS} \
X  ${GTK_CFLAGS}
X
libgncmod_app_utils_la_SOURCES = \
X  swig-app-utils.c \
X  file-utils.c \
X  gfec.c \
X  gnc-account-merge.c \
X  gnc-accounting-period.c \
X  gnc-component-manager.c \
X  gnc-druid.c \
X  gnc-druid-cb.c \
X  gnc-druid-provider.c \
X  gnc-druid-provider-desc.c \
X  gnc-druid-provider-desc-edge.c \
X  gnc-druid-provider-desc-file.c \
X  gnc-druid-provider-desc-multifile.c \
X  gnc-druid-provider-file-cb.c \
X  gnc-euro.c \
X  gnc-exp-parser.c \
X  gnc-gettext-util.c \
X  gnc-helpers.c \
X  gnc-sx-instance-model.c \
X  gncmod-app-utils.c \
X  gnc-ui-util.c \
X  guile-util.c \
X  option-util.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  file-utils.h \
X  gfec.h \
X  gnc-basic-gobject.h \
X  gnc-account-merge.h \
X  gnc-accounting-period.h \
X  gnc-component-manager.h \
X  gnc-druid.h \
X  gnc-druid-cb.h \
X  gnc-druid-provider.h \
X  gnc-druid-provider-desc.h \
X  gnc-druid-provider-desc-edge.h \
X  gnc-druid-provider-desc-file.h \
X  gnc-druid-provider-desc-multifile.h \
X  gnc-druid-provider-file-cb.h \
X  gnc-euro.h \
X  gnc-exp-parser.h \
X  gnc-gettext-util.h \
X  gnc-help-utils.h \
X  gnc-helpers.h \
X  gnc-sx-instance-model.h \
X  gnc-ui-common.h \
X  gnc-ui-util.h \
X  guile-util.h \
X  option-util.h
X
libgncmod_app_utils_la_LDFLAGS = -avoid-version
X
libgncmod_app_utils_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/calculation/libgncmod-calculation.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GCONF_LIBS} \
X  ${GTK_LIBS} \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
if BUILDING_FROM_SVN
swig-app-utils.c: app-utils.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = app-utils.scm 
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = \
X  c-interface.scm \
X  config-var.scm \
X  date-utilities.scm \
X  hooks.scm \
X  options.scm \
X  prefs.scm \
X  simple-obj.scm
X
noinst_DATA = .scm-links
X
EXTRA_DIST = \
X  app-utils.i \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
X
if OS_WIN32
libgncmod_app_utils_la_SOURCES += gnc-help-utils.c
libgncmod_app_utils_la_LIBADD += $(HTMLHELP_LIBS)
else
EXTRA_DIST += gnc-help-utils.c
endif
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
CLEANFILES = ${SCM_FILE_LINKS} gnucash .scm-links
MAINTAINERCLEANFILES = swig-app-utils.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.app-utils\"
SHAR_EOF
  (set 20 10 03 26 15 09 47 'gnucash/src/app-utils/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/app-utils/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/app-utils/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/app-utils/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
49a8cba45c849023feef8f5915648534  gnucash/src/app-utils/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/app-utils/Makefile.am'` -ne 4266 && \
  ${echo} "restoration warning:  size of 'gnucash/src/app-utils/Makefile.am' is not 4266"
  fi
fi
# ============= gnucash/src/app-utils/test/Makefile.am ==============
if test ! -d 'gnucash/src/app-utils'; then
  mkdir 'gnucash/src/app-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/app-utils."
else ${echo} "x - failed to create directory gnucash/src/app-utils."
     exit 1
fi
fi
if test ! -d 'gnucash/src/app-utils/test'; then
  mkdir 'gnucash/src/app-utils/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/app-utils/test."
else ${echo} "x - failed to create directory gnucash/src/app-utils/test."
     exit 1
fi
fi
if test -f 'gnucash/src/app-utils/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/app-utils/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/app-utils/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/app-utils/test/Makefile.am' &&
TESTS = \
X  test-link-module \
X  test-load-module \
X  test-exp-parser \
X  test-scm-query-string \
X  test-print-parse-amount \
X  test-sx
X
test_exp_parser_SOURCES = \
X  ${top_builddir}/src/core-utils/gnc-gconf-utils.c \
X  test-exp-parser.c
X
test_print_parse_amount_SOURCES = \
X  ${top_builddir}/src/core-utils/gnc-gconf-utils.c \
X  test-print-parse-amount.c
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/calculation \
X  --gnc-module-dir ${top_builddir}/src/app-utils \
X  --guile-load-dir ${top_builddir}/src/core-utils \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/scm \
X  --guile-load-dir ${top_builddir}/src/app-utils \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/calculation \
X  --library-dir    ${top_builddir}/src/app-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
LDADD = \
X   ${top_builddir}/src/engine/libgncmod-engine.la \
X   ${top_builddir}/src/gnc-module/libgnc-module.la \
X   ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X   ${top_builddir}/src/test-core/libtest-core.la \
X   ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \
X   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X   ${GUILE_LIBS} \
X   ${GCONF_LIBS}
X
check_PROGRAMS = \
X  test-link-module \
X  test-exp-parser \
X  test-print-parse-amount \
X  test-scm-query-string \
X  test-print-queries \
X  test-sx
X
EXTRA_DIST = \
X  test-load-module
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GCONF_CFLAGS}
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/app-utils/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/app-utils/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/app-utils/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/app-utils/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
1693150b3b783417426a04c898a500d3  gnucash/src/app-utils/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/app-utils/test/Makefile.am'` -ne 2131 && \
  ${echo} "restoration warning:  size of 'gnucash/src/app-utils/test/Makefile.am' is not 2131"
  fi
fi
# ============= gnucash/src/tax/us/Makefile.am ==============
if test ! -d 'gnucash/src/tax'; then
  mkdir 'gnucash/src/tax'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/tax."
else ${echo} "x - failed to create directory gnucash/src/tax."
     exit 1
fi
fi
if test ! -d 'gnucash/src/tax/us'; then
  mkdir 'gnucash/src/tax/us'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/tax/us."
else ${echo} "x - failed to create directory gnucash/src/tax/us."
     exit 1
fi
fi
if test -f 'gnucash/src/tax/us/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/tax/us/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/tax/us/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/tax/us/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-tax-us.la
X
libgncmod_tax_us_la_SOURCES = \
X  gncmod-tax-us.c 
X
libgncmod_tax_us_la_LDFLAGS = -avoid-version
X
libgncmod_tax_us_la_LIBADD = \
X ${GUILE_LIBS} \
X ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GLIB_CFLAGS} ${GUILE_INCS}
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/tax
gncscmmod_DATA = us.scm de_DE.scm
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = txf.scm txf-help.scm txf-de_DE.scm txf-help-de_DE.scm 
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = \
X  ${gncscmmod_DATA} \
X  ${gncscm_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p gnucash
X	mkdir -p gnucash/tax
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/tax; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
EXTRA_DIST = \
X  ${gncscmmod_DATA} \
X  ${gncscm_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/tax/us/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/tax/us/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/tax/us/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/tax/us/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
99747630352b623ae7141b62c484cb71  gnucash/src/tax/us/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/tax/us/Makefile.am'` -ne 1200 && \
  ${echo} "restoration warning:  size of 'gnucash/src/tax/us/Makefile.am' is not 1200"
  fi
fi
# ============= gnucash/src/tax/us/test/Makefile.am ==============
if test ! -d 'gnucash/src/tax/us'; then
  mkdir 'gnucash/src/tax/us'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/tax/us."
else ${echo} "x - failed to create directory gnucash/src/tax/us."
     exit 1
fi
fi
if test ! -d 'gnucash/src/tax/us/test'; then
  mkdir 'gnucash/src/tax/us/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/tax/us/test."
else ${echo} "x - failed to create directory gnucash/src/tax/us/test."
     exit 1
fi
fi
if test -f 'gnucash/src/tax/us/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/tax/us/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/tax/us/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/tax/us/test/Makefile.am' &&
TESTS = test-link-module
X
# Some of these dirs may not be needed anymore.
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/tax/us \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/tax/us \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS=test-link-module
test_link_module_SOURCES=test-link-module.c
test_link_module_LDADD=../libgncmod-tax-us.la ${GUILE_LIBS} ${GLIB_LIBS}
SHAR_EOF
  (set 20 10 04 17 19 13 54 'gnucash/src/tax/us/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/tax/us/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/tax/us/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/tax/us/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4551fbbd6945d9817cb2eb28f1816d68  gnucash/src/tax/us/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/tax/us/test/Makefile.am'` -ne 587 && \
  ${echo} "restoration warning:  size of 'gnucash/src/tax/us/test/Makefile.am' is not 587"
  fi
fi
# ============= gnucash/src/tax/Makefile.am ==============
if test -f 'gnucash/src/tax/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/tax/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/tax/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/tax/Makefile.am' &&
SUBDIRS = us
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/tax/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/tax/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/tax/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/tax/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
bb55f6156b2f63c9f7ca125450e9ea46  gnucash/src/tax/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/tax/Makefile.am'` -ne 13 && \
  ${echo} "restoration warning:  size of 'gnucash/src/tax/Makefile.am' is not 13"
  fi
fi
# ============= gnucash/src/html/Makefile.am ==============
if test ! -d 'gnucash/src/html'; then
  mkdir 'gnucash/src/html'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/html."
else ${echo} "x - failed to create directory gnucash/src/html."
     exit 1
fi
fi
if test -f 'gnucash/src/html/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/html/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/html/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/html/Makefile.am' &&
#SUBDIRS = . test
SUBDIRS = .
X
pkglib_LTLIBRARIES = libgncmod-html.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/lib/libc \
X  ${QOF_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GTK_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GOFFICE_CFLAGS}
X
libgncmod_html_la_SOURCES = \
X  gncmod-html.c \
X  gnc-html.c \
X  gnc-html-history.c \
X  gnc-html-graph-gog.c \
X  gnc-html-factory.c \
X  swig-gnc-html.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  gnc-html-graph-gog.h \
X  gnc-html-history.h \
X  gnc-html.h \
X  gnc-html-p.h \
X  gnc-html-factory.h \
X  gnc-html-gtkhtml.h \
X  gnc-html-webkit.h \
X  gnc-html-extras.h \
X  gnc-html-gtkhtml-p.h \
X  gnc-html-webkit-p.h \
X  gnc-html-graph-gog-gtkhtml.h \
X  gnc-html-graph-gog-webkit.h \
X  gnc-html-graph-gog-extras.h
X
libgncmod_html_la_LDFLAGS = -avoid-version
X
libgncmod_html_la_LIBADD = \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/calculation/libgncmod-calculation.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  $(top_builddir)/lib/libc/libc-missing.la \
X  ${GNOME_LIBS} \
X  ${GDK_PIXBUF_LIBS} \
X  ${GLIB_LIBS} \
X  ${DB_LIBS} \
X  ${QOF_LIBS} \
X  ${GOFFICE_LIBS} \
X  ${GLADE_LIBS} \
X  ${GUILE_LIBS} \
X  ${REGEX_LIBS}
X
if HTML_USING_WEBKIT
AM_CPPFLAGS += ${WEBKIT_CFLAGS}
libgncmod_html_la_SOURCES += \
X  gnc-html-webkit.c \
X  gnc-html-graph-gog-webkit.c
libgncmod_html_la_LIBADD += \
X  ${WEBKIT_LIBS}
else
AM_CPPFLAGS += ${GTKHTML_CFLAGS}
libgncmod_html_la_SOURCES += \
X  gnc-html-gtkhtml.c \
X  gnc-html-graph-gog-gtkhtml.c
libgncmod_html_la_LIBADD += \
X  ${GTKHTML_LIBS}
X
endif
X
if BUILDING_FROM_SVN
swig-gnc-html.c: gnc-html.i gnc-html.h \
X                    ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
EXTRA_DIST = \
X  gnc-html.i
X
CLEANFILES = $(BUILT_SOURCES) gnucash
MAINTAINERCLEANFILES = swig-html.c
X
# FIXME: Symlinking directories only works on non-win32.
if !PLATFORM_WIN32
#
# I hate inconsistent standards. Autotools puts help files into
# ${datadir}/gnome/help/${program} while the gnome2 libraries expect
# them in ${pkgdatadir}/gnome/help/${program}.
#
install-data-hook:
X	$(LN_S) -f ../gnome ${DESTDIR}${pkgdatadir}
X
uninstall-hook:
X	rm -f ${DESTDIR}${pkgdatadir}/gnome
endif
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.html\"
SHAR_EOF
  (set 20 10 03 26 15 09 24 'gnucash/src/html/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/html/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/html/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/html/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ca30d4cd4e0d5f8a429e86a41f10f227  gnucash/src/html/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/html/Makefile.am'` -ne 2704 && \
  ${echo} "restoration warning:  size of 'gnucash/src/html/Makefile.am' is not 2704"
  fi
fi
# ============= gnucash/src/gnome-search/Makefile.am ==============
if test ! -d 'gnucash/src/gnome-search'; then
  mkdir 'gnucash/src/gnome-search'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-search."
else ${echo} "x - failed to create directory gnucash/src/gnome-search."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome-search/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-search/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-search/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-search/Makefile.am' &&
pkglib_LTLIBRARIES = libgncmod-gnome-search.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GLIB_CFLAGS}
X
libgncmod_gnome_search_la_SOURCES = \
X  gncmod-gnome-search.c \
X  gnc-general-search.c \
X  dialog-search.c \
X  search-account.c \
X  search-boolean.c \
X  search-core-type.c \
X  search-core-utils.c \
X  search-date.c \
X  search-double.c \
X  search-int64.c \
X  search-numeric.c \
X  search-reconciled.c \
X  search-string.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  dialog-search.h \
X  gnc-general-search.h
X
noinst_HEADERS = \
X  search-account.h \
X  search-boolean.h \
X  search-core-type.h \
X  search-core-utils.h \
X  search-date.h \
X  search-double.h \
X  search-int64.h \
X  search-numeric.h \
X  search-reconciled.h \
X  search-string.h
X
libgncmod_gnome_search_la_LDFLAGS = -avoid-version
X
libgncmod_gnome_search_la_LIBADD = \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${GLIB_LIBS} \
X  ${REGEX_LIBS}
X
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  search.glade
X
EXTRA_DIST = \
X  ${glade_DATA}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.gui.search\"
SHAR_EOF
  (set 20 10 03 26 15 09 46 'gnucash/src/gnome-search/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-search/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-search/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-search/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
55f3072c9b118ba652b23903f1f7619f  gnucash/src/gnome-search/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-search/Makefile.am'` -ne 1608 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-search/Makefile.am' is not 1608"
  fi
fi
# ============= gnucash/src/engine/test-core/Makefile.am ==============
if test ! -d 'gnucash/src/engine'; then
  mkdir 'gnucash/src/engine'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/engine."
else ${echo} "x - failed to create directory gnucash/src/engine."
     exit 1
fi
fi
if test ! -d 'gnucash/src/engine/test-core'; then
  mkdir 'gnucash/src/engine/test-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/engine/test-core."
else ${echo} "x - failed to create directory gnucash/src/engine/test-core."
     exit 1
fi
fi
if test -f 'gnucash/src/engine/test-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/engine/test-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/engine/test-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/engine/test-core/Makefile.am' &&
check_LTLIBRARIES=libgncmod-test-engine.la
X
LDADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ../libgncmod-engine.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
libgncmod_test_engine_la_SOURCES = gncmod-test-engine.c test-engine-stuff.c
libgncmod_test_engine_la_LDFLAGS = -module
libgncmod_test_engine_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ../libgncmod-engine.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
noinst_HEADERS=test-engine-stuff.h test-engine-strings.h
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
SHAR_EOF
  (set 20 10 03 25 19 31 28 'gnucash/src/engine/test-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/engine/test-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/engine/test-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/engine/test-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d21a7d0e4f89912d98050004d46faeeb  gnucash/src/engine/test-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/engine/test-core/Makefile.am'` -ne 765 && \
  ${echo} "restoration warning:  size of 'gnucash/src/engine/test-core/Makefile.am' is not 765"
  fi
fi
# ============= gnucash/src/engine/Makefile.am ==============
if test -f 'gnucash/src/engine/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/engine/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/engine/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/engine/Makefile.am' &&
SUBDIRS = . test-core test 
X
pkglib_LTLIBRARIES = libgncmod-engine.la
X
AM_CPPFLAGS = \
X	-I${top_srcdir}/lib/libc \
X	-I${top_srcdir}/src/core-utils \
X	-I${top_srcdir}/src \
X	-I${top_builddir}/src \
X	-I${top_srcdir}/src/gnc-module \
X	-I${top_srcdir}/src/libqof/qof \
X	${GLIB_CFLAGS} \
X	${GUILE_INCS}
X
libgncmod_engine_la_SOURCES = \
X  Account.c \
X  Recurrence.c \
X  Period.c \
X  Query.c \
X  SchedXaction.c \
X  SX-book.c \
X  SX-ttinfo.c \
X  Scrub.c \
X  Scrub2.c \
X  Scrub3.c \
X  Split.c \
X  TransLog.c \
X  Transaction.c \
X  cap-gains.c \
X  cashobjects.c \
X  gnc-associate-account.c \
X  gnc-budget.c \
X  gnc-commodity.c \
X  gnc-engine.c \
X  gnc-hooks.c \
X  gnc-lot.c \
X  gnc-pricedb.c \
X  gnc-session.c \
X  gnc-session-scm.c \
X  gncmod-engine.c \
X  swig-engine.c \
X  kvp-scm.c \
X  engine-helpers.c \
X  glib-helpers.c  \
X  policy.c \
X  swig-business-core.c \
X  gncBusGuile.c \
X  gncBusiness.c \
X  gncAddress.c \
X  gncBillTerm.c \
X  gncCustomer.c \
X  gncEmployee.c \
X  gncEntry.c \
X  gncInvoice.c \
X  gncJob.c \
X  gncOrder.c \
X  gncOwner.c \
X  gncTaxTable.c \
X  gncIDSearch.c \
X  gncVendor.c
X
EXTRA_libgncmod_engine_la_SOURCES = iso-4217-currencies.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  Account.h \
X  FreqSpec.h \
X  Recurrence.h \
X  GNCId.h \
X  Period.h \
X  SchedXaction.h \
X  SX-book.h \
X  SX-ttinfo.h \
X  Query.h \
X  QueryNew.h \
X  QueryObject.h \
X  QueryCore.h \
X  Scrub.h \
X  Scrub2.h \
X  Scrub3.h \
X  Split.h \
X  TransLog.h \
X  Transaction.h \
X  cap-gains.h \
X  cashobjects.h \
X  engine-helpers.h \
X  glib-helpers.h \
X  gnc-associate-account.h \
X  gnc-budget.h \
X  gnc-commodity.h \
X  gnc-engine.h \
X  gnc-event.h \
X  gnc-hooks.h \
X  gnc-pricedb.h \
X  gnc-session.h \
X  gnc-session-scm.h \
X  gncObject.h \
X  kvp-scm.h \
X  policy.h \
X  gncAddress.h \
X  gncAddressP.h \
X  gncBillTerm.h \
X  gncBillTermP.h \
X  gncBusiness.h \
X  gncBusGuile.h \
X  gncCustomer.h \
X  gncCustomerP.h \
X  gncEmployee.h \
X  gncEmployeeP.h \
X  gncEntry.h \
X  gncEntryP.h \
X  gncInvoice.h \
X  gncInvoiceP.h \
X  gncJob.h \
X  gncJobP.h \
X  gncOrder.h \
X  gncOrderP.h \
X  gncOwner.h \
X  gncOwnerP.h \
X  gncTaxTable.h \
X  gncTaxTableP.h \
X  gncIDSearch.h \
X  gncVendor.h \
X  gncVendorP.h
X
noinst_HEADERS = \
X  AccountP.h \
X  QueryP.h \
X  ScrubP.h \
X  SplitP.h \
X  SX-book.h \
X  SX-ttinfo.h \
X  TransactionP.h \
X  gnc-hooks-scm.h \
X  gnc-lot.h \
X  gnc-lot-p.h \
X  gnc-pricedb-p.h \
X  policy-p.h
X
noinst_SCRIPTS = iso-currencies-to-c
X
libgncmod_engine_la_LDFLAGS = -avoid-version
X
libgncmod_engine_la_LIBADD = \
X  ../gnc-module/libgnc-module.la \
X  ../core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${REGEX_LIBS} \
X  ${GLIB_LIBS} \
X  ${top_builddir}/lib/libc/libc-missing.la
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = engine.scm 
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = \
X  commodity-table.scm \
X  engine-interface.scm \
X  engine-utilities.scm \
X  gnc-numeric.scm
X
EXTRA_DIST = \
X  README.query-api \
X  design.txt \
X  extensions.txt \
X  iso-4217-currencies.scm \
X  iso-currencies-to-c \
X  kvp_doc.txt \
X  SX-book-p.h \
X  engine.i \
X  business-core.i \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
X
if GNUCASH_SEPARATE_BUILDDIR
#For compiling
SCM_FILE_LINKS = iso-4217-currencies.scm
#For executing test cases
SCM_FILE_LINKS += \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
X
if BUILDING_FROM_SVN
swig-engine.c: engine.i ${top_srcdir}/src/base-typemaps.i \
X               ${gncinclude_HEADERS} ${noinst_HEADERS}
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src/libqof/qof -I${top_srcdir}/src -o $@ $<
swig-business-core.c: business-core.i ${noinst_HEADERS} \
X                      ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
iso-4217-currencies.c: iso-4217-currencies.scm iso-currencies-to-c
X	-chmod u+x ${srcdir}/iso-currencies-to-c
X	${srcdir}/iso-currencies-to-c "${srcdir}"
X
BUILT_SOURCES = iso-4217-currencies.c
X
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links \
X	${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-engine.c swig-business-core.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.engine\"
SHAR_EOF
  (set 20 10 10 10 21 22 49 'gnucash/src/engine/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/engine/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/engine/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/engine/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
3a59275187328246ea78a4c4ecc47d69  gnucash/src/engine/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/engine/Makefile.am'` -ne 4523 && \
  ${echo} "restoration warning:  size of 'gnucash/src/engine/Makefile.am' is not 4523"
  fi
fi
# ============= gnucash/src/engine/test/Makefile.am ==============
if test ! -d 'gnucash/src/engine/test'; then
  mkdir 'gnucash/src/engine/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/engine/test."
else ${echo} "x - failed to create directory gnucash/src/engine/test."
     exit 1
fi
fi
if test -f 'gnucash/src/engine/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/engine/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/engine/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/engine/test/Makefile.am' &&
X
AM_CPPFLAGS = \
X  -I${top_srcdir} \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/src/core-utils \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
LDADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/test-core/libtest-core.la \
X  ../libgncmod-engine.la \
X  ../test-core/libgncmod-test-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
# these tests are ordered kind more or less in the order
# that they should be executed, with more basic tests coming first.
#
TESTS = \
X  test-link \
X  test-load-engine \
X  test-guid \
X  test-numeric \
X  test-date \
X  test-object \
X  test-commodities \
X  test-create-account \
X  test-account-object \
X  test-group-vs-book \
X  test-lots \
X  test-period \
X  test-querynew \
X  test-query \
X  test-recursive \
X  test-split-vs-account  \
X  test-transaction-reversal \
X  test-transaction-voiding \
X  test-recurrence \
X  test-scm-query \
X  test-book-merge
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine
X
TESTS_ENVIRONMENT = \
X  SRCDIR=${srcdir} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link \
X  test-commodities \
X  test-date \
X  test-recurrence \
X  test-guid \
X  test-account-object \
X  test-group-vs-book \
X  test-load-engine \
X  test-period \
X  test-lots \
X  test-numeric \
X  test-book-merge \
X  test-object \
X  test-query \
X  test-querynew \
X  test-recursive \
X  test-scm-query \
X  test-split-vs-account \
X  test-transaction-reversal \
X  test-transaction-voiding
X
X
test_link_SOURCES = test-link.c
test_link_LDADD = ../libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la
X
EXTRA_DIST = \
X  test-create-account \
X  test-create-account.scm \
X  test-scm-query-import \
X  test-scm-query-import.scm
X
clean-local:
X	rm -f translog.*
X
distclean-local: clean-local
SHAR_EOF
  (set 20 10 03 25 19 31 28 'gnucash/src/engine/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/engine/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/engine/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/engine/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e81d65a0bd060852c4024acde9866d1a  gnucash/src/engine/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/engine/test/Makefile.am'` -ne 2417 && \
  ${echo} "restoration warning:  size of 'gnucash/src/engine/test/Makefile.am' is not 2417"
  fi
fi
# ============= gnucash/src/test-core/Makefile.am ==============
if test ! -d 'gnucash/src/test-core'; then
  mkdir 'gnucash/src/test-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/test-core."
else ${echo} "x - failed to create directory gnucash/src/test-core."
     exit 1
fi
fi
if test -f 'gnucash/src/test-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/test-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/test-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/test-core/Makefile.am' &&
noinst_LTLIBRARIES=libtest-core.la
X
libtest_core_la_SOURCES = test-stuff.c
libtest_core_la_LDFLAGS = -module
libtest_core_la_LIBADD = \
X  ${GLIB_LIBS}
X
noinst_HEADERS=test-stuff.h
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  ${GLIB_CFLAGS}
SHAR_EOF
  (set 20 10 03 26 15 09 24 'gnucash/src/test-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/test-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/test-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/test-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e3fcd42cdb6f6ef8a9e4d9f1981bcbbd  gnucash/src/test-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/test-core/Makefile.am'` -ne 238 && \
  ${echo} "restoration warning:  size of 'gnucash/src/test-core/Makefile.am' is not 238"
  fi
fi
# ============= gnucash/src/backend/Makefile.am ==============
if test ! -d 'gnucash/src/backend'; then
  mkdir 'gnucash/src/backend'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend."
else ${echo} "x - failed to create directory gnucash/src/backend."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/Makefile.am' &&
X
SUBDIRS = xml sql ${DBI_DIR}
DIST_SUBDIRS = xml sql dbi
SHAR_EOF
  (set 20 10 03 26 15 09 16 'gnucash/src/backend/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e4fa7d9fbbb37d2a6780c5dbba7c0971  gnucash/src/backend/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/Makefile.am'` -ne 57 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/Makefile.am' is not 57"
  fi
fi
# ============= gnucash/src/backend/xml/Makefile.am ==============
if test ! -d 'gnucash/src/backend'; then
  mkdir 'gnucash/src/backend'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend."
else ${echo} "x - failed to create directory gnucash/src/backend."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/xml'; then
  mkdir 'gnucash/src/backend/xml'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml."
else ${echo} "x - failed to create directory gnucash/src/backend/xml."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/xml/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/xml/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/xml/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/xml/Makefile.am' &&
SUBDIRS = . test
X
# Now a shared library AND a GModule
lib_LTLIBRARIES = libgnc-backend-xml-utils.la
pkglib_LTLIBRARIES = libgncmod-backend-xml.la
X
AM_CPPFLAGS = \
X  -I.. -I../.. \
X  -DLOCALE_DIR=\""$(datadir)/locale"\" \
X  -I${top_srcdir}/src/backend \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/lib/libc\
X  -I${top_srcdir}/src/libqof/qof \
X  -I$(top_srcdir)/src \
X  ${LIBXML2_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GCONF_CFLAGS}
X
libgnc_backend_xml_utils_la_SOURCES = \
X  gnc-account-xml-v2.c \
X  gnc-address-xml-v2.c \
X  gnc-bill-term-xml-v2.c \
X  gnc-book-xml-v2.c \
X  gnc-budget-xml-v2.c \
X  gnc-commodity-xml-v2.c \
X  gnc-customer-xml-v2.c \
X  gnc-employee-xml-v2.c \
X  gnc-entry-xml-v2.c \
X  gnc-freqspec-xml-v2.c \
X  gnc-invoice-xml-v2.c \
X  gnc-job-xml-v2.c \
X  gnc-lot-xml-v2.c \
X  gnc-order-xml-v2.c \
X  gnc-owner-xml-v2.c \
X  gnc-pricedb-xml-v2.c \
X  gnc-recurrence-xml-v2.c \
X  gnc-schedxaction-xml-v2.c \
X  gnc-tax-table-xml-v2.c \
X  gnc-transaction-xml-v2.c \
X  gnc-vendor-xml-v2.c \
X  io-example-account.c \
X  io-gncxml-gen.c \
X  io-gncxml-v1.c \
X  io-gncxml-v2.c \
X  io-utils.c \
X  sixtp-dom-generators.c \
X  sixtp-dom-parsers.c \
X  sixtp-stack.c \
X  sixtp-to-dom-parser.c \
X  sixtp-utils.c \
X  sixtp.c
X
libgncmod_backend_xml_la_SOURCES = \
X  gnc-backend-xml.c
X
noinst_HEADERS = \
X  gnc-backend-xml.h \
X  gnc-xml.h \
X  gnc-address-xml-v2.h \
X  gnc-bill-term-xml-v2.h \
X  gnc-customer-xml-v2.h \
X  gnc-employee-xml-v2.h \
X  gnc-entry-xml-v2.h \
X  gnc-invoice-xml-v2.h \
X  gnc-job-xml-v2.h \
X  gnc-order-xml-v2.h \
X  gnc-owner-xml-v2.h \
X  gnc-tax-table-xml-v2.h \
X  gnc-vendor-xml-v2.h \
X  gnc-xml-helper.h \
X  io-example-account.h \
X  io-gncxml-gen.h \
X  io-gncxml-v2.h \
X  io-gncxml.h \
X  io-utils.h \
X  sixtp-dom-generators.h \
X  sixtp-dom-parsers.h \
X  sixtp-parsers.h \
X  sixtp-stack.h \
X  sixtp-utils.h \
X  sixtp.h \
X  xml-helpers.h
X
libgnc_backend_xml_utils_la_LIBADD = \
X   ${GLIB_LIBS} \
X   ${GCONF_LIBS} \
X   ${LIBXML2_LIBS} \
X   ${ZLIB_LIBS} \
X   ${top_builddir}/src/engine/libgncmod-engine.la \
X   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X   ${top_builddir}/src/libqof/qof/libgnc-qof.la
X
libgncmod_backend_xml_la_LDFLAGS = -module -avoid-version
libgncmod_backend_xml_la_LIBADD = \
X   ${GLIB_LIBS} \
X   ${GCONF_LIBS} \
X   ${LIBXML2_LIBS} \
X   ${ZLIB_LIBS} \
X   ${top_builddir}/src/engine/libgncmod-engine.la \
X   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X   libgnc-backend-xml-utils.la \
X   ${top_builddir}/src/libqof/qof/libgnc-qof.la
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.xml\"
SHAR_EOF
  (set 20 10 07 31 17 42 47 'gnucash/src/backend/xml/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/xml/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/xml/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/xml/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4946559a16fbf6fe1d7e5a6d8e2d3155  gnucash/src/backend/xml/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/xml/Makefile.am'` -ne 2606 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/xml/Makefile.am' is not 2606"
  fi
fi
# ============= gnucash/src/backend/xml/test/Makefile.am ==============
if test ! -d 'gnucash/src/backend/xml'; then
  mkdir 'gnucash/src/backend/xml'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml."
else ${echo} "x - failed to create directory gnucash/src/backend/xml."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/xml/test'; then
  mkdir 'gnucash/src/backend/xml/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml/test."
else ${echo} "x - failed to create directory gnucash/src/backend/xml/test."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/xml/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/xml/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/xml/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/xml/test/Makefile.am' &&
#
SUBDIRS = test-files
X
test_date_converting_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  test-date-converting.c
X
test_dom_converters1_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  test-dom-converters1.c
X
test_kvp_frames_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  test-kvp-frames.c
X
# the xml backend is now a GModule - this test does
# not load it as a module and cannot link to it
# and remain portable.
X
test_load_example_account_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/io-example-account.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-v2.c \
X  ${top_srcdir}/src/backend/xml/io-utils.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-budget-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  test-load-example-account.c
X
test_string_converters_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  test-string-converters.c
X
test_xml_account_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  test-xml-account.c
X
test_xml_commodity_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  test-xml-commodity.c
X
test_xml_pricedb_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  test-xml-pricedb.c
X
test_xml_transaction_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-budget-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-v2.c \
X  ${top_srcdir}/src/backend/xml/io-utils.c \
X  test-xml-transaction.c
X
test_xml2_is_file_SOURCES = \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-parsers.c \
X  ${top_srcdir}/src/backend/xml/sixtp-dom-generators.c \
X  ${top_srcdir}/src/backend/xml/sixtp-utils.c \
X  ${top_srcdir}/src/backend/xml/sixtp.c \
X  ${top_srcdir}/src/backend/xml/sixtp-stack.c \
X  ${top_srcdir}/src/backend/xml/sixtp-to-dom-parser.c \
X  ${top_srcdir}/src/backend/xml/gnc-account-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-budget-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-lot-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-recurrence-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-schedxaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-freqspec-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-transaction-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-commodity-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-book-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/gnc-pricedb-xml-v2.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-gen.c \
X  ${top_srcdir}/src/backend/xml/io-gncxml-v2.c \
X  ${top_srcdir}/src/backend/xml/io-utils.c \
X  test-xml2-is-file.c
X
TESTS = \
X  test-date-converting \
X  test-dom-converters1 \
X  test-kvp-frames \
X  test-load-example-account \
X  test-load-backend \
X  test-load-xml2 \
X  test-real-data.sh \
X  test-string-converters \
X  test-xml-account \
X  test-xml-commodity \
X  test-xml-pricedb \
X  test-xml-transaction \
X  test-xml2-is-file
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/xml
X
TESTS_ENVIRONMENT = \
X  GNC_ACCOUNT_PATH=${top_srcdir}/accounts/C \
X  GNC_TEST_FILES=${srcdir}/test-files/xml2 \
X  SRCDIR=${srcdir} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_LTLIBRARIES = libgnc-test-file-stuff.la
X
libgnc_test_file_stuff_la_SOURCES = test-file-stuff.c
libgnc_test_file_stuff_la_LIBADD = \
X  ${top_builddir}/src/engine/libgncmod-engine.la
X
check_PROGRAMS = \
X  test-date-converting \
X  test-dom-converters1 \
X  test-kvp-frames \
X  test-load-backend \
X  test-load-example-account \
X  test-load-xml2 \
X  test-save-in-lang \
X  test-string-converters \
X  test-xml-account \
X  test-xml-commodity \
X  test-xml-pricedb \
X  test-xml-transaction \
X  test-xml2-is-file
X
noinst_HEADERS = test-file-stuff.h
X
LDADD = ${top_builddir}/src/test-core/libtest-core.la \
X        ${top_builddir}/src/gnc-module/libgnc-module.la \
X        ${top_builddir}/src/engine/libgncmod-engine.la \
X        ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \
X        ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X        ./libgnc-test-file-stuff.la \
X        ${LIBXML2_LIBS} \
X        ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X        ${top_builddir}/lib/libc/libc-missing.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/backend/xml \
X  -I${top_srcdir}/src/libqof/qof \
X  ${LIBXML2_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GCONF_CFLAGS}
X
EXTRA_DIST = \
X  grab-types.pl \
X  test-dom-parser1.c \
X  test-real-data.sh \
X  test-xml2-is-file.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.xml\"
SHAR_EOF
  (set 20 10 05 09 19 07 35 'gnucash/src/backend/xml/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/xml/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/xml/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/xml/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5910fdff1463e246db560a28939112b5  gnucash/src/backend/xml/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/xml/test/Makefile.am'` -ne 10030 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/xml/test/Makefile.am' is not 10030"
  fi
fi
# ============= gnucash/src/backend/xml/test/test-files/xml2/Makefile.am ==============
if test ! -d 'gnucash/src/backend/xml/test'; then
  mkdir 'gnucash/src/backend/xml/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml/test."
else ${echo} "x - failed to create directory gnucash/src/backend/xml/test."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/xml/test/test-files'; then
  mkdir 'gnucash/src/backend/xml/test/test-files'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml/test/test-files."
else ${echo} "x - failed to create directory gnucash/src/backend/xml/test/test-files."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/xml/test/test-files/xml2'; then
  mkdir 'gnucash/src/backend/xml/test/test-files/xml2'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/xml/test/test-files/xml2."
else ${echo} "x - failed to create directory gnucash/src/backend/xml/test/test-files/xml2."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/xml/test/test-files/xml2/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/xml/test/test-files/xml2/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am' &&
EXTRA_DIST = \
X	Money95bank_fr.gml2 \
X	Money95invst.gml2 \
X	Money95mutual.gml2 \
X	Money95stocks.gml2 \
X	abc.gml2 \
X	abcall.gml2 \
X	carols-data-file.gml2 \
X	cbb-export.gml2 \
X	conrads-file.gml2 \
X	every.gml2 \
X	goonies-file.gml2 \
X	hierachical-data-file.gml2 \
X	ms-money.gml2 \
X	pricedb1.gml2 
SHAR_EOF
  (set 20 10 03 26 15 09 15 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/xml/test/test-files/xml2/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
1c3708b552bbe3daec6dc22a325ba286  gnucash/src/backend/xml/test/test-files/xml2/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am'` -ne 293 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/xml/test/test-files/xml2/Makefile.am' is not 293"
  fi
fi
# ============= gnucash/src/backend/xml/test/test-files/Makefile.am ==============
if test -f 'gnucash/src/backend/xml/test/test-files/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/xml/test/test-files/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/xml/test/test-files/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/xml/test/test-files/Makefile.am' &&
SUBDIRS = xml2
SHAR_EOF
  (set 20 10 03 26 15 09 15 'gnucash/src/backend/xml/test/test-files/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/xml/test/test-files/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/xml/test/test-files/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/xml/test/test-files/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
03132918171dfc22da4999022e9fccd3  gnucash/src/backend/xml/test/test-files/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/xml/test/test-files/Makefile.am'` -ne 15 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/xml/test/test-files/Makefile.am' is not 15"
  fi
fi
# ============= gnucash/src/backend/dbi/Makefile.am ==============
if test ! -d 'gnucash/src/backend/dbi'; then
  mkdir 'gnucash/src/backend/dbi'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/dbi."
else ${echo} "x - failed to create directory gnucash/src/backend/dbi."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/dbi/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/dbi/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/dbi/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/dbi/Makefile.am' &&
SUBDIRS = . test
X
# Now a shared library AND a GModule
pkglib_LTLIBRARIES = libgncmod-backend-dbi.la
X
X
# "${top_srcdir}/src/debug" below is for the splint header
AM_CFLAGS = \
X  -I.. -I../.. \
X  -DLOCALE_DIR=\""$(datadir)/locale"\" \
X  -I${top_srcdir}/src/backend \
X  -I${top_srcdir}/src/backend/sql \
X  -I${top_srcdir}/src/debug \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GCONF_CFLAGS} \
X  ${WARN_CFLAGS}
X
libgncmod_backend_dbi_la_SOURCES = \
X  gnc-backend-dbi.c
X
noinst_HEADERS = \
X  gnc-backend-dbi.h
X
libgncmod_backend_dbi_la_LDFLAGS = -module -avoid-version
libgncmod_backend_dbi_la_LIBADD = \
X   ${GLIB_LIBS} \
X   ${GCONF_LIBS} \
X   ${top_builddir}/src/backend/sql/libgnc-backend-sql.la \
X   ${top_builddir}/src/engine/libgncmod-engine.la \
X   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X   ${LIBDBI_LIBS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.dbi\"
SHAR_EOF
  (set 20 10 03 26 15 09 14 'gnucash/src/backend/dbi/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/dbi/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/dbi/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/dbi/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4689556735f2c8b264c3ec4ec618a1ca  gnucash/src/backend/dbi/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/dbi/Makefile.am'` -ne 974 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/dbi/Makefile.am' is not 974"
  fi
fi
# ============= gnucash/src/backend/dbi/test/Makefile.am ==============
if test ! -d 'gnucash/src/backend/dbi'; then
  mkdir 'gnucash/src/backend/dbi'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/dbi."
else ${echo} "x - failed to create directory gnucash/src/backend/dbi."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/dbi/test'; then
  mkdir 'gnucash/src/backend/dbi/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/dbi/test."
else ${echo} "x - failed to create directory gnucash/src/backend/dbi/test."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/dbi/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/dbi/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/dbi/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/dbi/test/Makefile.am' &&
SUBDIRS = .
X
check_LTLIBRARIES=libgncmod-test-dbi.la
X
libgncmod_test_dbi_la_SOURCES = \
X    test-dbi-stuff.c
libgncmod_test_dbi_la_LDFLAGS = -module
X
test_dbi_business_SOURCES = \
X  test-dbi-business.c \
X  test-dbi-business-stuff.c
X
test_dbi_basic_SOURCES = \
X  test-dbi-basic.c
X
test_dbi_SOURCES = \
X  test-dbi.c
X
TESTS = \
X  test-dbi-basic \
X  test-dbi \
X  test-dbi-business \
X  test-load-backend
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine
X
if CUSTOM_GNC_DBD_DIR
gnc_dbd_dir_override = GNC_DBD_DIR="@GNC_DBD_DIR@"
endif
X
TESTS_ENVIRONMENT = \
X  GNC_ACCOUNT_PATH=${top_srcdir}/accounts/C \
X  SRCDIR=${srcdir} \
X  ${gnc_dbd_dir_override} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-dbi-basic \
X  test-dbi \
X  test-dbi-business \
X  test-load-backend
X
EXTRA_DIST = \
X    test-dbi-stuff.h \
X    test-dbi-business-stuff.h
X
LDADD = ${top_builddir}/src/test-core/libtest-core.la \
X        ${top_builddir}/src/gnc-module/libgnc-module.la \
X        ${top_builddir}/src/engine/libgncmod-engine.la \
X        ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \
X        ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X        ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X        ${top_builddir}/src/backend/dbi/test/libgncmod-test-dbi.la \
X        ${top_builddir}/src/backend/sql/libgnc-backend-sql.la \
X        ${top_builddir}/lib/libc/libc-missing.la
X
AM_CFLAGS = \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/src/backend/sql \
X  -DTEST_MYSQL_URL=\"${TEST_MYSQL_URL}\" \
X  -DTEST_PGSQL_URL=\"${TEST_PGSQL_URL}\" \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GCONF_CFLAGS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.dbi\"
SHAR_EOF
  (set 20 10 11 06 19 36 00 'gnucash/src/backend/dbi/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/dbi/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/dbi/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/dbi/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
45f0f923b2e4cc032f5c0fdfa28b692e  gnucash/src/backend/dbi/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/dbi/test/Makefile.am'` -ne 2195 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/dbi/test/Makefile.am' is not 2195"
  fi
fi
# ============= gnucash/src/backend/sql/Makefile.am ==============
if test ! -d 'gnucash/src/backend/sql'; then
  mkdir 'gnucash/src/backend/sql'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/sql."
else ${echo} "x - failed to create directory gnucash/src/backend/sql."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/sql/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/sql/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/sql/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/sql/Makefile.am' &&
SUBDIRS = . test
X
# Now a shared library AND a GModule
lib_LTLIBRARIES = libgnc-backend-sql.la
X
# "${top_srcdir}/src/debug" below is for the splint header
AM_CFLAGS = \
X  -I.. -I../.. \
X  -DLOCALE_DIR=\""$(datadir)/locale"\" \
X  -I${top_srcdir}/src/backend \
X  -I${top_srcdir}/src/debug \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/core-utils\
X  -I${top_srcdir}/lib/libc\
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GCONF_CFLAGS} \
X  ${WARN_CFLAGS}
X
libgnc_backend_sql_la_SOURCES = \
X  gnc-backend-sql.c \
X  gnc-account-sql.c \
X  gnc-address-sql.c \
X  gnc-bill-term-sql.c \
X  gnc-book-sql.c \
X  gnc-budget-sql.c \
X  gnc-commodity-sql.c \
X  gnc-customer-sql.c \
X  gnc-employee-sql.c \
X  gnc-entry-sql.c \
X  gnc-invoice-sql.c \
X  gnc-job-sql.c \
X  gnc-lots-sql.c \
X  gnc-order-sql.c \
X  gnc-owner-sql.c \
X  gnc-price-sql.c \
X  gnc-recurrence-sql.c \
X  gnc-schedxaction-sql.c \
X  gnc-slots-sql.c \
X  gnc-tax-table-sql.c \
X  gnc-transaction-sql.c \
X  gnc-vendor-sql.c \
X  escape.c
X
noinst_HEADERS = \
X  gnc-account-sql.h \
X  gnc-address-sql.h \
X  gnc-backend-sql.h \
X  gnc-bill-term-sql.h \
X  gnc-book-sql.h \
X  gnc-budget-sql.h \
X  gnc-commodity-sql.h \
X  gnc-customer-sql.h \
X  gnc-employee-sql.h \
X  gnc-entry-sql.h \
X  gnc-invoice-sql.h \
X  gnc-job-sql.h \
X  gnc-lots-sql.h \
X  gnc-order-sql.h \
X  gnc-owner-sql.h \
X  gnc-price-sql.h \
X  gnc-recurrence-sql.h \
X  gnc-schedxaction-sql.h \
X  gnc-slots-sql.h \
X  gnc-tax-table-sql.h \
X  gnc-transaction-sql.h \
X  gnc-vendor-sql.h \
X  escape.h
X
libgnc_backend_sql_la_LIBADD = \
X   ${GLIB_LIBS} \
X   ${GUILE_LIBS} \
X   ${GCONF_LIBS} \
X   ${top_builddir}/src/engine/libgncmod-engine.la \
X   ${top_builddir}/src/libqof/qof/libgnc-qof.la
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.sql\"
SHAR_EOF
  (set 20 10 10 24 16 30 47 'gnucash/src/backend/sql/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/sql/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/sql/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/sql/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d4805ce7ae7896fc8c4ef1ee710c8231  gnucash/src/backend/sql/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/sql/Makefile.am'` -ne 1769 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/sql/Makefile.am' is not 1769"
  fi
fi
# ============= gnucash/src/backend/sql/test/Makefile.am ==============
if test ! -d 'gnucash/src/backend/sql'; then
  mkdir 'gnucash/src/backend/sql'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/sql."
else ${echo} "x - failed to create directory gnucash/src/backend/sql."
     exit 1
fi
fi
if test ! -d 'gnucash/src/backend/sql/test'; then
  mkdir 'gnucash/src/backend/sql/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/backend/sql/test."
else ${echo} "x - failed to create directory gnucash/src/backend/sql/test."
     exit 1
fi
fi
if test -f 'gnucash/src/backend/sql/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/backend/sql/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/backend/sql/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/backend/sql/test/Makefile.am' &&
SUBDIRS = .
X
test_column_types_SOURCES = \
X  test-column-types.c
X
TESTS = \
X  test-column-types
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/sql
X
TESTS_ENVIRONMENT = \
X  GNC_ACCOUNT_PATH=${top_srcdir}/accounts/C \
X  SRCDIR=${srcdir} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-column-types
X
#noinst_HEADERS = test-file-stuff.h
X
LDADD = ${top_builddir}/src/test-core/libtest-core.la \
X        ${top_builddir}/src/gnc-module/libgnc-module.la \
X        ${top_builddir}/src/backend/sql/libgnc-backend-sql.la \
X        ${top_builddir}/src/engine/libgncmod-engine.la \
X        ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \
X        ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X        ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X        ${top_builddir}/lib/libc/libc-missing.la
X
AM_CFLAGS = \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/backend/sql \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GCONF_CFLAGS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.backend.sql\"
SHAR_EOF
  (set 20 10 07 31 17 42 39 'gnucash/src/backend/sql/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/backend/sql/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/backend/sql/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/backend/sql/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
aea4a2409beaacc1c2e07feac063a4c9  gnucash/src/backend/sql/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/backend/sql/test/Makefile.am'` -ne 1596 && \
  ${echo} "restoration warning:  size of 'gnucash/src/backend/sql/test/Makefile.am' is not 1596"
  fi
fi
# ============= gnucash/src/core-utils/Makefile.am ==============
if test ! -d 'gnucash/src/core-utils'; then
  mkdir 'gnucash/src/core-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/core-utils."
else ${echo} "x - failed to create directory gnucash/src/core-utils."
     exit 1
fi
fi
if test -f 'gnucash/src/core-utils/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/core-utils/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/core-utils/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/core-utils/Makefile.am' &&
SUBDIRS = . test
X
lib_LTLIBRARIES = libgnc-core-utils.la
X
libgnc_core_utils_la_SOURCES = \
X  binreloc.c \
X  gnc-filepath-utils.c \
X  gnc-gconf-utils.c \
X  gnc-gdate-utils.c \
X  gnc-gkeyfile-utils.c \
X  gnc-glib-utils.c \
X  gnc-jalali.c \
X  gnc-main.c \
X  gnc-path.c \
X  gnc-uri-utils.c \
X  swig-core-utils.c
X
libgnc_core_utils_la_LIBADD = \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${BINRELOC_LIBS} \
X  ${IGE_MAC_LIBS} \
X  ${GCONF_LIBS} \
X  ${QOF_LIBS}
X
noinst_HEADERS = \
X  binreloc.h \
X  gnc-main.h \
X  gnc-filepath-utils.h \
X  gnc-gconf-utils.h \
X  gnc-gdate-utils.h \
X  gnc-gkeyfile-utils.h \
X  gnc-glib-utils.h \
X  gnc-jalali.h \
X  gnc-path.h \
X  gnc-uri-utils.h
X
if BUILDING_FROM_SVN
swig-core-utils.c: core-utils.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
AM_CPPFLAGS = \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GCONF_CFLAGS} \
X  ${IGE_MAC_CFLAGS} \
X  ${QOF_CFLAGS} \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/src
X
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = core-utils.scm
X
if GNUCASH_SEPARATE_BUILDDIR
#Only needed when srcdir and builddir are different
#for running
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
BUILT_SOURCES = gncla-dir.h
EXTRA_DIST = $(gncmod_DATA) core-utils.i gncla-dir.h.in
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links
MAINTAINERCLEANFILES = swig-core-utils.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.core-utils\"
X
gncla-dir.h: gncla-dir.h.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X		-e 's#@-DATADIRNAME-@#${DATADIRNAME}#g' \
X		-e 's#@-libdir-@#${libdir}#g' \
X		-e 's#@-bindir-@#${bindir}#g' \
X		-e 's#@-sysconfdir-@#${sysconfdir}#g' \
X		-e 's#@-datadir-@#${datadir}#g' \
X		-e 's#@-prefix-@#${prefix}#g'
X	mv $@.tmp $@
X
SHAR_EOF
  (set 20 10 10 24 16 30 48 'gnucash/src/core-utils/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/core-utils/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/core-utils/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/core-utils/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b8a4af2126bff79fc94e4c59405742d2  gnucash/src/core-utils/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/core-utils/Makefile.am'` -ne 2161 && \
  ${echo} "restoration warning:  size of 'gnucash/src/core-utils/Makefile.am' is not 2161"
  fi
fi
# ============= gnucash/src/core-utils/test/Makefile.am ==============
if test ! -d 'gnucash/src/core-utils'; then
  mkdir 'gnucash/src/core-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/core-utils."
else ${echo} "x - failed to create directory gnucash/src/core-utils."
     exit 1
fi
fi
if test ! -d 'gnucash/src/core-utils/test'; then
  mkdir 'gnucash/src/core-utils/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/core-utils/test."
else ${echo} "x - failed to create directory gnucash/src/core-utils/test."
     exit 1
fi
fi
if test -f 'gnucash/src/core-utils/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/core-utils/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/core-utils/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/core-utils/test/Makefile.am' &&
X
AM_CPPFLAGS = \
X  -I${top_srcdir} \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/src/core-utils \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
LDADD = \
X  ../libgnc-core-utils.la \
X  ${top_builddir}/src/test-core/libtest-core.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
# these tests are ordered kind more or less in the order
# that they should be executed, with more basic tests coming first.
#
TESTS = \
X  test-gnc-uri-utils \
X  test-resolve-file-path
X
GNC_TEST_DEPS = \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils
X
TESTS_ENVIRONMENT = \
X  SRCDIR=${srcdir} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-gnc-uri-utils \
X  test-resolve-file-path
X
X
EXTRA_DIST =
X
clean-local:
X	rm -f translog.*
X
distclean-local: clean-local
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/core-utils/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/core-utils/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/core-utils/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/core-utils/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
55e2bba11f960cb3e73c9b03dffa1c0a  gnucash/src/core-utils/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/core-utils/test/Makefile.am'` -ne 921 && \
  ${echo} "restoration warning:  size of 'gnucash/src/core-utils/test/Makefile.am' is not 921"
  fi
fi
# ============= gnucash/src/gnc-module/Makefile.am ==============
if test ! -d 'gnucash/src/gnc-module'; then
  mkdir 'gnucash/src/gnc-module'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module."
else ${echo} "x - failed to create directory gnucash/src/gnc-module."
     exit 1
fi
fi
if test -f 'gnucash/src/gnc-module/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/Makefile.am' &&
SUBDIRS = . test
X
AM_CPPFLAGS = \
X   -I${top_srcdir}/lib/libc \
X   -I${top_srcdir}/src \
X   -I${top_srcdir}/src/core-utils \
X   ${GLIB_CFLAGS} \
X   ${GUILE_INCS}
X
lib_LTLIBRARIES = libgnc-module.la
X
libgnc_module_la_SOURCES = gnc-module.c swig-gnc-module.c
X
libgnc_module_la_LIBADD = \
X  ../core-utils/libgnc-core-utils.la \
X  ${top_builddir}/lib/libc/libc-missing.la \
X  ${GLIB_LIBS} \
X  ${GUILE_LIBS}
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = gnc-module.scm
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  gnc-module-api.h \
X  gnc-module.h
X
noinst_DATA = .scm-links
X
if BUILDING_FROM_SVN
swig-gnc-module.c: gnc-module.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
EXTRA_DIST = \
X  ${gncmod_DATA} \
X  gnc-module.i
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
CLEANFILES = .scm-links gnucash ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-gnc-module.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.module\"
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/gnc-module/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b451f1fac9c5b080be72735f7869c7e9  gnucash/src/gnc-module/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/Makefile.am'` -ne 1408 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/Makefile.am' is not 1408"
  fi
fi
# ============= gnucash/src/gnc-module/test/mod-bar/Makefile.am ==============
if test ! -d 'gnucash/src/gnc-module'; then
  mkdir 'gnucash/src/gnc-module'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module."
else ${echo} "x - failed to create directory gnucash/src/gnc-module."
     exit 1
fi
fi
if test ! -d 'gnucash/src/gnc-module/test'; then
  mkdir 'gnucash/src/gnc-module/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module/test."
else ${echo} "x - failed to create directory gnucash/src/gnc-module/test."
     exit 1
fi
fi
if test ! -d 'gnucash/src/gnc-module/test/mod-bar'; then
  mkdir 'gnucash/src/gnc-module/test/mod-bar'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module/test/mod-bar."
else ${echo} "x - failed to create directory gnucash/src/gnc-module/test/mod-bar."
     exit 1
fi
fi
if test -f 'gnucash/src/gnc-module/test/mod-bar/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/test/mod-bar/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/test/mod-bar/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/test/mod-bar/Makefile.am' &&
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
PWD := $(shell pwd)
check_LTLIBRARIES = libbar.la libgncmodbar.la
X
libbar_la_SOURCES = bar.c
libbar_la_LDFLAGS = -rpath ${PWD}
X
# Make swig-bar.c for dist. It is an automatic dependency
# of gnc-mod-bar.c
noinst_HEADERS = \
X  bar.h \
X  swig-bar.c
X
libgncmodbar_la_SOURCES=gnc-mod-bar.c
libgncmodbar_la_LDFLAGS=-rpath ${PWD} -avoid-version
libgncmodbar_la_LIBADD=libbar.la \
X  $(GUILE_LIBS) \
X  $(GLIB_LIBS)
X
if BUILDING_FROM_SVN
swig-bar.c: bar.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $<
endif
X
EXTRA_DIST = \
X  bar.i \
X  gnucash/bar.scm
X
BUILT_SOURCES = swig-bar.c
MAINTAINERCLEANFILES = swig-bar.c
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/gnc-module/test/mod-bar/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/test/mod-bar/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/test/mod-bar/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/test/mod-bar/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
03bfe34da2b575293f14fef48c9af4e5  gnucash/src/gnc-module/test/mod-bar/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/test/mod-bar/Makefile.am'` -ne 724 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/test/mod-bar/Makefile.am' is not 724"
  fi
fi
# ============= gnucash/src/gnc-module/test/mod-baz/Makefile.am ==============
if test ! -d 'gnucash/src/gnc-module/test/mod-baz'; then
  mkdir 'gnucash/src/gnc-module/test/mod-baz'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module/test/mod-baz."
else ${echo} "x - failed to create directory gnucash/src/gnc-module/test/mod-baz."
     exit 1
fi
fi
if test -f 'gnucash/src/gnc-module/test/mod-baz/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/test/mod-baz/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/test/mod-baz/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/test/mod-baz/Makefile.am' &&
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnc-module/test/mod-foo \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
X
PWD := $(shell pwd)
check_LTLIBRARIES = libbaz.la libgncmodbaz.la
X
libbaz_la_SOURCES = baz.c
libbaz_la_LDFLAGS = -rpath ${PWD}
libbaz_la_LIBADD = ../mod-foo/libfoo.la
X
# Make swig-baz.c for dist. It is an automatic dependency
# of gnc-mod-baz.c
noinst_HEADERS = \
X  baz.h \
X  swig-baz.c
X
libgncmodbaz_la_SOURCES = gnc-mod-baz.c
libgncmodbaz_la_LDFLAGS = -rpath ${PWD} -avoid-version
libgncmodbaz_la_LIBADD = \
X  libbaz.la \
X  ../../libgnc-module.la \
X  $(GUILE_LIBS) \
X  $(GLIB_LIBS)
X
if BUILDING_FROM_SVN
swig-baz.c: baz.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $<
endif
X
EXTRA_DIST = \
X  baz.i \
X  gnucash/baz.scm
X
BUILT_SOURCES = swig-baz.c
MAINTAINERCLEANFILES = swig-baz.c
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/gnc-module/test/mod-baz/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/test/mod-baz/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/test/mod-baz/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/test/mod-baz/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
a145341f3e39760ae0317030d78de590  gnucash/src/gnc-module/test/mod-baz/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/test/mod-baz/Makefile.am'` -ne 849 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/test/mod-baz/Makefile.am' is not 849"
  fi
fi
# ============= gnucash/src/gnc-module/test/Makefile.am ==============
if test -f 'gnucash/src/gnc-module/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/test/Makefile.am' &&
SUBDIRS = mod-foo mod-bar mod-baz misc-mods
X
LDADD = ../libgnc-module.la ${GLIB_LIBS} ${GUILE_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
TESTS = \
X  test-load-c \
X  test-load-scm \
X  test-gwrapped-c \
X  test-scm-module \
X  test-scm-multi \
X  test-load-deps \
X  test-modsysver \
X  test-incompatdep \
X  test-agedver \
X  test-dynload \
X  test-scm-dynload \
X  test-scm-init
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/gnc-module \
X  --gnc-module-dir ${top_builddir}/src/gnc-module/test/mod-foo \
X  --gnc-module-dir ${top_builddir}/src/gnc-module/test/mod-bar \
X  --gnc-module-dir ${top_builddir}/src/gnc-module/test/mod-baz \
X  --gnc-module-dir ${top_builddir}/src/gnc-module/test/misc-mods \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_srcdir}/src/gnc-module/test/mod-foo \
X  --guile-load-dir ${top_srcdir}/src/gnc-module/test/mod-baz \
X  --guile-load-dir ${top_srcdir}/src/gnc-module/test/mod-bar \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/gnc-module/test/mod-foo \
X  --library-dir    ${top_builddir}/src/gnc-module/test/mod-bar \
X  --library-dir    ${top_builddir}/src/gnc-module/test/mod-baz
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-load-c \
X  test-modsysver \
X  test-incompatdep \
X  test-agedver \
X  test-dynload
X
test_dynload_LDFLAGS = ${GUILE_LIBS}
X
EXTRA_DIST = \
X  test-gwrapped-c \
X  test-load-deps \
X  test-load-scm \
X  test-scm-dynload \
X  test-scm-init \
X  test-scm-module \
X  test-scm-multi
X
foo:
X	${TESTS_ENVIRONMENT} strace -f -o xxx ./test-load-c
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/gnc-module/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
6f4109bc4afc1673a138da8e4e1ae8df  gnucash/src/gnc-module/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/test/Makefile.am'` -ne 1765 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/test/Makefile.am' is not 1765"
  fi
fi
# ============= gnucash/src/gnc-module/test/misc-mods/Makefile.am ==============
if test ! -d 'gnucash/src/gnc-module/test/misc-mods'; then
  mkdir 'gnucash/src/gnc-module/test/misc-mods'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module/test/misc-mods."
else ${echo} "x - failed to create directory gnucash/src/gnc-module/test/misc-mods."
     exit 1
fi
fi
if test -f 'gnucash/src/gnc-module/test/misc-mods/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/test/misc-mods/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/test/misc-mods/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/test/misc-mods/Makefile.am' &&
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
X
LDADD = -L../.. -L../../.libs
X
PWD := $(shell pwd)
check_LTLIBRARIES=libgncmod_futuremodsys.la libgncmod_incompatdep.la libgncmod_agedver.la
X
libgncmod_futuremodsys_la_SOURCES=futuremodsys.c
libgncmod_futuremodsys_la_LDFLAGS=-rpath ${PWD} -avoid-version
libgncmod_futuremodsys_la_LIBADD = \
X  $(GLIB_LIBS)
X
libgncmod_incompatdep_la_SOURCES=incompatdep.c
libgncmod_incompatdep_la_LDFLAGS=--rpath ${PWD} -avoid-version
libgncmod_incompatdep_la_LIBADD = \
X  ../../libgnc-module.la \
X  $(GLIB_LIBS)
X
libgncmod_agedver_la_SOURCES=agedver.c
libgncmod_agedver_la_LDFLAGS=-rpath ${PWD} -avoid-version
libgncmod_agedver_la_LIBADD = \
X  $(GLIB_LIBS)
X
CLEANFILES = *.so* *.a
SHAR_EOF
  (set 20 10 05 30 18 03 19 'gnucash/src/gnc-module/test/misc-mods/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/test/misc-mods/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/test/misc-mods/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/test/misc-mods/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
0ff97214917148a155a9db4b9ae36987  gnucash/src/gnc-module/test/misc-mods/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/test/misc-mods/Makefile.am'` -ne 775 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/test/misc-mods/Makefile.am' is not 775"
  fi
fi
# ============= gnucash/src/gnc-module/test/mod-foo/Makefile.am ==============
if test ! -d 'gnucash/src/gnc-module/test/mod-foo'; then
  mkdir 'gnucash/src/gnc-module/test/mod-foo'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnc-module/test/mod-foo."
else ${echo} "x - failed to create directory gnucash/src/gnc-module/test/mod-foo."
     exit 1
fi
fi
if test -f 'gnucash/src/gnc-module/test/mod-foo/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnc-module/test/mod-foo/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnc-module/test/mod-foo/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnc-module/test/mod-foo/Makefile.am' &&
AM_CPPFLAGS=\
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
PWD := $(shell pwd)
check_LTLIBRARIES=libfoo.la libgncmodfoo.la
X
libfoo_la_SOURCES = foo.c
libfoo_la_LDFLAGS = -rpath ${PWD}
X
# Make swig-foo.c for dist. It is an automatic dependency
# of gnc-mod-foo.c
noinst_HEADERS = \
X  foo.h \
X  swig-foo.c
X
libgncmodfoo_la_SOURCES = gnc-mod-foo.c
libgncmodfoo_la_LDFLAGS = -rpath ${PWD} -avoid-version
libgncmodfoo_la_LIBADD = \
X  libfoo.la \
X  $(GUILE_LIBS) \
X  $(GLIB_LIBS)
X
EXTRA_DIST = \
X  foo.i \
X  gnucash/foo.scm
X
if BUILDING_FROM_SVN
swig-foo.c: foo.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $<
endif
X
BUILT_SOURCES = swig-foo.c
MAINTAINERCLEANFILES = swig-foo.c
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/gnc-module/test/mod-foo/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnc-module/test/mod-foo/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnc-module/test/mod-foo/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnc-module/test/mod-foo/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b05319ca4db495e3b915e5a97fc71bbd  gnucash/src/gnc-module/test/mod-foo/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnc-module/test/mod-foo/Makefile.am'` -ne 730 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnc-module/test/mod-foo/Makefile.am' is not 730"
  fi
fi
# ============= gnucash/src/pixmaps/Makefile.am ==============
if test ! -d 'gnucash/src/pixmaps'; then
  mkdir 'gnucash/src/pixmaps'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/pixmaps."
else ${echo} "x - failed to create directory gnucash/src/pixmaps."
     exit 1
fi
fi
if test -f 'gnucash/src/pixmaps/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/pixmaps/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/pixmaps/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/pixmaps/Makefile.am' &&
gncpixmapdir = ${GNC_PIXMAP_DIR}
X
gncpixmap_DATA = \
X  gnc-account-16.png \
X  gnc-account-delete-16.png \
X  gnc-account-delete.png \
X  gnc-account-edit-16.png \
X  gnc-account-edit.png \
X  gnc-account-new-16.png \
X  gnc-account-new.png \
X  gnc-account-open-16.png \
X  gnc-account-open.png \
X  gnc-account.png \
X  gnc-invoice-16.png \
X  gnc-invoice-edit-16.png \
X  gnc-invoice-edit.png \
X  gnc-invoice-pay-16.png \
X  gnc-invoice-pay.png \
X  gnc-invoice-post-16.png \
X  gnc-invoice-post.png \
X  gnc-invoice-unpost-16.png \
X  gnc-invoice-unpost.png \
X  gnc-invoice.png \
X  gnc-jumpto-16.png \
X  gnc-jumpto.png \
X  gnc-split-trans-16.png \
X  gnc-split-trans.png \
X  gnc-sx-new-16.png \
X  gnc-sx-new.png \
X  gnc-transfer-16.png \
X  gnc-transfer.png \
X  gnucash-icon.ico \
X  gnucash-icon-16x16.png \
X  gnucash-icon-32x32.png \
X  gnucash-icon-48x48.bmp \
X  gnucash-icon-48x48.png \
X  gnucash-icon-64x64.png \
X  gnucash-icon-96x96.png \
X  gnucash-icon-128x128.png \
X  gnucash-icon-256x256.png \
X  gnucash_splash.png \
X  stock_split_title.png \
X  stock_split_watermark.png
X
gnchuge256icondir = ${datadir}/icons/hicolor/256x256/apps
gnchuge256icon_DATA = 256x256/gnucash-icon.png
X
gnchuge128icondir = ${datadir}/icons/hicolor/128x128/apps
gnchuge128icon_DATA = 128x128/gnucash-icon.png
X
gnclarge96icondir = ${datadir}/icons/hicolor/96x96/apps
gnclarge96icon_DATA = 96x96/gnucash-icon.png
X
gnclarge64icondir = ${datadir}/icons/hicolor/64x64/apps
gnclarge64icon_DATA = 64x64/gnucash-icon.png
X
gnclarge48icondir = ${datadir}/icons/hicolor/48x48/apps
gnclarge48icon_DATA = 48x48/gnucash-icon.png
X
gncmediumicondir = ${datadir}/icons/hicolor/32x32/apps
gncmediumicon_DATA = 32x32/gnucash-icon.png
X
gncsmalltwfouricondir = ${datadir}/icons/hicolor/24x24/apps
gncsmalltwfouricon_DATA = 24x24/gnucash-icon.png
X
gncsmalltwtwoicondir = ${datadir}/icons/hicolor/22x22/apps
gncsmalltwtwoicon_DATA = 22x22/gnucash-icon.png
X
gncextrasmallicondir = ${datadir}/icons/hicolor/16x16/apps
gncextrasmallicon_DATA = 16x16/gnucash-icon.png
X
gncscalableicondir = ${datadir}/icons/hicolor/scalable/apps
gncscalableicon_DATA = scalable/gnucash-icon.svg
X
if BUILDING_FROM_SVN
256x256/gnucash-icon.png: gnucash-icon-256x256.png
X	-mkdir -p 256x256
X	cp ${srcdir}/gnucash-icon-256x256.png 256x256/gnucash-icon.png
X
128x128/gnucash-icon.png: gnucash-icon-128x128.png
X	-mkdir -p 128x128
X	cp ${srcdir}/gnucash-icon-128x128.png 128x128/gnucash-icon.png
X
96x96/gnucash-icon.png: gnucash-icon-96x96.png
X	-mkdir -p 96x96
X	cp ${srcdir}/gnucash-icon-96x96.png 96x96/gnucash-icon.png
X
64x64/gnucash-icon.png: gnucash-icon-64x64.png
X	-mkdir -p 64x64
X	cp ${srcdir}/gnucash-icon-64x64.png 64x64/gnucash-icon.png
X
48x48/gnucash-icon.png: gnucash-icon-48x48.png
X	-mkdir -p 48x48
X	cp ${srcdir}/gnucash-icon-48x48.png 48x48/gnucash-icon.png
X
32x32/gnucash-icon.png: ${top_srcdir}/art/tango/32x32/gnucash.png
X	-mkdir -p 32x32
X	cp ${top_srcdir}/art/tango/32x32/gnucash.png 32x32/gnucash-icon.png
X
24x24/gnucash-icon.png: ${top_srcdir}/art/tango/22x22/gnucash-24x24.png
X	-mkdir -p 24x24
X	cp ${top_srcdir}/art/tango/22x22/gnucash-24x24.png 24x24/gnucash-icon.png
X
22x22/gnucash-icon.png: ${top_srcdir}/art/tango/22x22/gnucash-22x22.png
X	-mkdir -p 22x22
X	cp ${top_srcdir}/art/tango/22x22/gnucash-22x22.png 22x22/gnucash-icon.png
X
16x16/gnucash-icon.png: ${top_srcdir}/art/tango/16x16/gnucash.png
X	-mkdir -p 16x16
X	cp ${top_srcdir}/art/tango/16x16/gnucash.png 16x16/gnucash-icon.png
X
scalable/gnucash-icon.svg: ${top_srcdir}/art/tango/scalable/gnucash.svg
X	-mkdir -p scalable
X	cp ${top_srcdir}/art/tango/scalable/gnucash.svg scalable/gnucash-icon.svg
X
gnucash-icon-16x16.png:
X	cp ${top_srcdir}/art/tango/16x16/gnucash.png gnucash-icon-16x16.png
X	
gnucash-icon-32x32.png:
X	cp ${top_srcdir}/art/tango/32x32/gnucash.png gnucash-icon-32x32.png
endif
X
# As suggested by <http://live.gnome.org/GnomeGoals/AppIcon>
if !OS_WIN32
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
X	@-if test -z "$(DESTDIR)"; then \
X		echo "Updating Gtk icon cache."; \
X		$(gtk_update_icon_cache); \
X	else \
X		echo "*** Icon cache not updated.  After (un)install, run this:"; \
X		echo "***   $(gtk_update_icon_cache)"; \
X	fi
endif
X
ico_files_hr = \
X  ${gnchuge256icon_DATA} \
X  ${gnchuge128icon_DATA} \
X  ${gnclarge96icon_DATA} \
X  ${gnclarge64icon_DATA} \
X  ${gnclarge48icon_DATA}
X
ico_files_lr = \
X  ${gncmediumicon_DATA} \
X  ${gncsmalltwfouricon_DATA} \
X  ${gncsmalltwtwoicon_DATA} \
X  ${gncextrasmallicon_DATA}
X
EXTRA_DIST = \
X  ${gncpixmap_DATA} \
X  ${ico_files_hr} \
X  ${ico_files_lr} \
X  ${gncscalableicon_DATA}
X
# Only clean up if we're building from SVN
if BUILDING_FROM_SVN
clean-local:
X	-rm -rf 256x256 128x128 96x96 64x64 48x48 32x32 24x24 22x22 16x16 scalable
endif
X
# Create gnucash-icon.ico
X.PHONY: ico
ico: ${ico_files_hr} ${ico_files_lr}
X	convert ${ico_files_lr} ${ico_files_hr} tmp.ico; \
X	mv tmp.ico gnucash-icon.ico
SHAR_EOF
  (set 20 10 05 15 17 06 07 'gnucash/src/pixmaps/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/pixmaps/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/pixmaps/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/pixmaps/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
8afbc84b867b8ec59d028334254d1f6d  gnucash/src/pixmaps/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/pixmaps/Makefile.am'` -ne 4961 && \
  ${echo} "restoration warning:  size of 'gnucash/src/pixmaps/Makefile.am' is not 4961"
  fi
fi
# ============= gnucash/src/gnome/glade/Makefile.am ==============
if test ! -d 'gnucash/src/gnome'; then
  mkdir 'gnucash/src/gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome."
else ${echo} "x - failed to create directory gnucash/src/gnome."
     exit 1
fi
fi
if test ! -d 'gnucash/src/gnome/glade'; then
  mkdir 'gnucash/src/gnome/glade'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome/glade."
else ${echo} "x - failed to create directory gnucash/src/gnome/glade."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome/glade/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome/glade/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome/glade/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome/glade/Makefile.am' &&
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X	account.glade \
X	acctperiod.glade \
X	autoclear.glade \
X	budget.glade \
X	commodities.glade \
X	fincalc.glade \
X	lots.glade \
X	newuser.glade \
X	price.glade \
X	print.glade \
X	progress.glade \
X	reconcile.glade \
X	register.glade \
X	stocks.glade \
X	tax.glade \
X	userpass.glade \
X	sched-xact.glade
X
EXTRA_DIST = $(glade_DATA)
SHAR_EOF
  (set 20 10 05 09 19 07 39 'gnucash/src/gnome/glade/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome/glade/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome/glade/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome/glade/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
3ac390f225c7118e4aa4e546fb789724  gnucash/src/gnome/glade/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome/glade/Makefile.am'` -ne 362 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome/glade/Makefile.am' is not 362"
  fi
fi
# ============= gnucash/src/gnome/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/gnome/schemas'; then
  mkdir 'gnucash/src/gnome/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome/schemas."
else ${echo} "x - failed to create directory gnucash/src/gnome/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_dialog_common.schemas.in \
X  apps_gnucash_dialog_commodities.schemas.in \
X  apps_gnucash_dialog_prices.schemas.in \
X  apps_gnucash_dialog_print_checks.schemas.in \
X  apps_gnucash_dialog_reconcile.schemas.in \
X  apps_gnucash_dialog_scheduled_transctions.schemas.in \
X  apps_gnucash_dialog_totd.schemas.in \
X  apps_gnucash_general.schemas.in \
X  apps_gnucash_warnings.schemas.in \
X  apps_gnucash_window_pages_account_tree.schemas.in \
X  apps_gnucash_window_pages_register.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 44 'gnucash/src/gnome/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
206d9ef52518f457ccb8e5ee63508a92  gnucash/src/gnome/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome/schemas/Makefile.am'` -ne 1066 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome/schemas/Makefile.am' is not 1066"
  fi
fi
# ============= gnucash/src/gnome/Makefile.am ==============
if test -f 'gnucash/src/gnome/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome/Makefile.am' &&
SUBDIRS = glade schemas ui
X
lib_LTLIBRARIES = libgnc-gnome.la
X
libgnc_gnome_la_LIBADD = \
X  ${top_builddir}/src/register/ledger-core/libgncmod-ledger-core.la \
X  ${top_builddir}/src/register/register-gnome/libgncmod-register-gnome.la \
X  ${top_builddir}/src/register/register-core/libgncmod-register-core.la \
X  ${top_builddir}/src/report/report-gnome/libgncmod-report-gnome.la \
X  ${top_builddir}/src/report/report-system/libgncmod-report-system.la \
X  ${top_builddir}/src/gnome-search/libgncmod-gnome-search.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/backend/xml/libgnc-backend-xml-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/html/libgncmod-html.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLADE_LIBS} \
X  ${GUILE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLIB_LIBS} \
X  ${QOF_LIBS}
X
libgnc_gnome_la_SOURCES = \
X  swig-gnome.c \
X  dialog-commodities.c \
X  dialog-fincalc.c \
X  dialog-find-transactions.c \
X  dialog-new-user.c \
X  dialog-price-editor.c \
X  dialog-price-edit-db.c \
X  dialog-print-check.c \
X  dialog-progress.c \
X  dialog-sx-editor.c \
X  dialog-sx-from-trans.c \
X  dialog-sx-since-last-run.c \
X  dialog-tax-info.c \
X  druid-acct-period.c \
X  druid-hierarchy.c \
X  druid-loan.c \
X  druid-stock-split.c \
X  gnc-plugin-account-tree.c \
X  gnc-plugin-basic-commands.c \
X  gnc-plugin-budget.c \
X  gnc-plugin-register.c \
X  gnc-plugin-page-account-tree.c \
X  gnc-plugin-page-budget.c \
X  gnc-plugin-page-sx-list.c \
X  gnc-plugin-page-register.c \
X  gnc-split-reg.c \
X  lot-viewer.c \
X  reconcile-list.c \
X  top-level.c \
X  window-reconcile.c \
X  window-autoclear.c
X
gnomeappdir = ${datadir}/applications
X
gnomeapp_in_files = gnucash.desktop.in
gnomeapp_DATA = $(gnomeapp_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
X
appicondir = $(datadir)/pixmaps
X
noinst_HEADERS = \
X  dialog-fincalc.h \
X  dialog-find-transactions.h \
X  dialog-new-user.h \
X  dialog-print-check.h \
X  dialog-progress.h \
X  dialog-sx-editor.h \
X  dialog-sx-from-trans.h \
X  dialog-sx-since-last-run.h \
X  druid-acct-period.h \
X  druid-hierarchy.h \
X  druid-loan.h \
X  druid-stock-split.h \
X  gnc-plugin-account-tree.h \
X  gnc-plugin-basic-commands.h \
X  gnc-plugin-budget.h \
X  gnc-plugin-register.h \
X  gnc-plugin-page-account-tree.h \
X  gnc-plugin-page-budget.h \
X  gnc-plugin-page-sx-list.h \
X  gnc-plugin-page-register.h \
X  gnc-split-reg.h \
X  lot-viewer.h \
X  reconcile-list.h \
X  top-level.h \
X  window-reconcile.h \
X  window-autoclear.h
X
if BUILDING_FROM_SVN
swig-gnome.c: gnome.i dialog-progress.h ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
EXTRA_DIST = \
X  gnucash.desktop.in \
X  gnome.i
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/calculation \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/backend/xml \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnome-search \
X  -I${top_srcdir}/src/html \
X  -I${top_srcdir}/src/register/ledger-core \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/register/register-gnome \
X  -I${top_srcdir}/src/report/report-system \
X  -I${top_srcdir}/src/report/report-gnome \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  $(GLIB_CFLAGS) \
X  ${IGE_MAC_CFLAGS}
X
# We build this in an earlier directory.
X
# The line below breaks automake 1.5.  
##OMIT_DEPENDENCIES = gnc-dir.h
X
CLEANFILES = gnucash.desktop
MAINTAINERCLEANFILES = swig-gnome.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.gui\"
SHAR_EOF
  (set 20 10 11 20 22 43 23 'gnucash/src/gnome/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
0963032188ce04c56e7178b525ff6dd7  gnucash/src/gnome/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome/Makefile.am'` -ne 3812 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome/Makefile.am' is not 3812"
  fi
fi
# ============= gnucash/src/gnome/ui/Makefile.am ==============
if test ! -d 'gnucash/src/gnome/ui'; then
  mkdir 'gnucash/src/gnome/ui'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome/ui."
else ${echo} "x - failed to create directory gnucash/src/gnome/ui."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome/ui/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome/ui/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome/ui/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome/ui/Makefile.am' &&
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-budget-ui.xml \
X	gnc-plugin-page-budget-ui.xml \
X	gnc-plugin-account-tree-ui.xml \
X	gnc-plugin-basic-commands-ui.xml \
X	gnc-plugin-page-account-tree-ui.xml \
X	gnc-plugin-file-history-ui.xml \
X	gnc-plugin-register-ui.xml \
X	gnc-plugin-page-register-ui.xml \
X        gnc-plugin-page-sx-list-ui.xml \
X	gnc-plugin-page-sxregister-ui.xml \
X	gnc-sxed-to-create-window-ui.xml \
X	gnc-reconcile-window-ui.xml \
X	gnc-sxed-window-ui.xml \
X	gnc-sxed-window-ui-full.xml
X
EXTRA_DIST = $(ui_DATA)
SHAR_EOF
  (set 20 10 03 26 15 09 45 'gnucash/src/gnome/ui/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome/ui/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome/ui/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome/ui/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9f56ed41a396a9104a5277d064ed535b  gnucash/src/gnome/ui/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome/ui/Makefile.am'` -ne 528 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome/ui/Makefile.am' is not 528"
  fi
fi
# ============= gnucash/src/doc/design/Makefile.am ==============
if test ! -d 'gnucash/src/doc'; then
  mkdir 'gnucash/src/doc'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/doc."
else ${echo} "x - failed to create directory gnucash/src/doc."
     exit 1
fi
fi
if test ! -d 'gnucash/src/doc/design'; then
  mkdir 'gnucash/src/doc/design'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/doc/design."
else ${echo} "x - failed to create directory gnucash/src/doc/design."
     exit 1
fi
fi
if test -f 'gnucash/src/doc/design/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/doc/design/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/doc/design/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/doc/design/Makefile.am' &&
X
info_TEXINFOS = gnucash-design.texinfo
gnucash_design_TEXINFOS = \
X  component-manager.texinfo \
X  concept-index.texinfo \
X  engine.texinfo \
X  fdl.texinfo \
X  function-index.texinfo \
X  intro.texinfo \
X  register.texinfo \
X  reports.texinfo \
X  top-level.texinfo \
X  type-index.texinfo \
X  user-preferences.texinfo
X
# These should included as part of the automake rule set.  Perhaps I
# have a version skew between automake and texinfo.
DISTCLEANFILES = gnucash-design.cps gnucash-design.fns gnucash-design.tps
MAINTAINERCLEANFILES = gnucash-design.info gnucash-design.info-[0-9]*
SHAR_EOF
  (set 20 10 03 26 15 09 24 'gnucash/src/doc/design/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/doc/design/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/doc/design/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/doc/design/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
289567681285355c64881aa816b3f811  gnucash/src/doc/design/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/doc/design/Makefile.am'` -ne 583 && \
  ${echo} "restoration warning:  size of 'gnucash/src/doc/design/Makefile.am' is not 583"
  fi
fi
# ============= gnucash/src/doc/Makefile.am ==============
if test -f 'gnucash/src/doc/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/doc/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/doc/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/doc/Makefile.am' &&
X
SUBDIRS = \
X  design \
X  xml
X
EXTRA_DIST = \
X  README \
X  backup.txt \
X  budget.txt \
X  callgrind.txt \
X  constderv.html \
X  finderv.html \
X  finutil.html \
X  plugin.txt \
X  tax.txt \
X  doxygen_main_page.c \
X  doxygen.cfg.in \
X  TODO-schedxactions \
X  TODO-sixtp \
X  backend-api.txt \
X  backend-errors.txt \
X  books.txt \
X  currencies.txt \
X  loans.txt \
X  lots.txt \
X  multicurrency-discussion.txt \
X  netlogin.txt \
X  guid.txt \
X  qif.txt \
X  generic-druid-framework.txt \
X  user-prefs-howto.txt
X
X
docdir = ${GNC_DOC_INSTALL_DIR}
X
all:
X
doc: doxygen.cfg
X	@echo "doc: " $$(pwd) && echo "distdir: " $$(echo $(distdir))
X	rm -rf html refman.pdf
X	$(DOXYGEN) doxygen.cfg
#	$(MAKE) -C latex/ 
#	mv latex/refman.pdf ./refman.pdf
X
distclean-local:
X	echo "distclean-local: " && pwd
X	rm -f doxygen.cfg doxygen.log
X
maintainer-clean-local:
X	echo "maintainer-clean-local: " && pwd
X	rm -rf html latex
X	rm -f refman.pdf
X
uninstall-hook:
X	rm -rf ${docdir}/html
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
doxygen.cfg: doxygen.cfg.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-top_srcdir-@:${top_srcdir}:g; s:@-VERSION-@:${VERSION}:g'
X	mv $@.tmp $@
X
SHAR_EOF
  (set 20 10 11 20 23 56 27 'gnucash/src/doc/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/doc/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/doc/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/doc/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
c1cf8464d8a98bcb9c1951af2efddabe  gnucash/src/doc/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/doc/Makefile.am'` -ne 1347 && \
  ${echo} "restoration warning:  size of 'gnucash/src/doc/Makefile.am' is not 1347"
  fi
fi
# ============= gnucash/src/doc/xml/Makefile.am ==============
if test ! -d 'gnucash/src/doc/xml'; then
  mkdir 'gnucash/src/doc/xml'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/doc/xml."
else ${echo} "x - failed to create directory gnucash/src/doc/xml."
     exit 1
fi
fi
if test -f 'gnucash/src/doc/xml/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/doc/xml/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/doc/xml/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/doc/xml/Makefile.am' &&
X
EXTRA_DIST = \
X  account-v2.dtd \
X  commodity-v2.dtd \
X  defaults-v1.dtd \
X  io-gncxml-version1.dtd \
X  io-gncxml-version2.dtd \
X  preferences-v1.dtd \
X  prices-v1.dtd \
X  transactions-v2.dtd \
X  types.dtd
SHAR_EOF
  (set 20 10 03 26 15 09 24 'gnucash/src/doc/xml/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/doc/xml/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/doc/xml/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/doc/xml/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ee88da9069a3c7ddf8bffa5523a2aa6f  gnucash/src/doc/xml/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/doc/xml/Makefile.am'` -ne 207 && \
  ${echo} "restoration warning:  size of 'gnucash/src/doc/xml/Makefile.am' is not 207"
  fi
fi
# ============= gnucash/src/libqof/Makefile.am ==============
if test ! -d 'gnucash/src/libqof'; then
  mkdir 'gnucash/src/libqof'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/libqof."
else ${echo} "x - failed to create directory gnucash/src/libqof."
     exit 1
fi
fi
if test -f 'gnucash/src/libqof/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/libqof/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/libqof/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/libqof/Makefile.am' &&
SUBDIRS = . qof
X
SHAR_EOF
  (set 20 10 05 09 19 07 37 'gnucash/src/libqof/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/libqof/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/libqof/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/libqof/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
bb6e4ed5fb724182fe46f6f006307aef  gnucash/src/libqof/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/libqof/Makefile.am'` -ne 17 && \
  ${echo} "restoration warning:  size of 'gnucash/src/libqof/Makefile.am' is not 17"
  fi
fi
# ============= gnucash/src/libqof/qof/Makefile.am ==============
if test ! -d 'gnucash/src/libqof'; then
  mkdir 'gnucash/src/libqof'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/libqof."
else ${echo} "x - failed to create directory gnucash/src/libqof."
     exit 1
fi
fi
if test ! -d 'gnucash/src/libqof/qof'; then
  mkdir 'gnucash/src/libqof/qof'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/libqof/qof."
else ${echo} "x - failed to create directory gnucash/src/libqof/qof."
     exit 1
fi
fi
if test -f 'gnucash/src/libqof/qof/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/libqof/qof/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/libqof/qof/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/libqof/qof/Makefile.am' &&
lib_LTLIBRARIES = libgnc-qof.la
X
libgnc_qof_la_LDFLAGS= -version-info $(LIBQOF_LIBRARY_VERSION)
libgnc_qof_la_LIBADD= \
X  $(GLIB_LIBS) \
X  $(REGEX_LIBS) \
X  $(top_builddir)/lib/libc/libc-missing.la
X
AM_CPPFLAGS = \
X  -I$(top_srcdir)/lib/libc \
X  -I$(top_srcdir)/src \
X  $(GLIB_CFLAGS)
X
libgnc_qof_la_SOURCES =  \
X   gnc-date.c        \
X   gnc-numeric.c     \
X   guid.c            \
X   kvp_frame.c       \
X   kvp-util.c        \
X   md5.c             \
X   qofbackend.c      \
X   qofclass.c        \
X   qofchoice.c       \
X   qofid.c           \
X   qofinstance.c     \
X   qofquery.c        \
X   qofbook.c         \
X   qofevent.c        \
X   qoflog.c          \
X   qofobject.c       \
X   qofquerycore.c    \
X   qofreference.c    \
X   qofutil.c         \
X   qofsession.c      \
X   qofbookmerge.c
X
qofincludedir = ${pkgincludedir}
X
qofinclude_HEADERS = \
X   gnc-date.h        \
X   gnc-date-p.h      \
X   gnc-numeric.h     \
X   guid.h            \
X   kvp_frame.h       \
X   kvp-util.h        \
X   kvp-util-p.h      \
X   qof.h             \
X   qofbackend.h      \
X   qofbackend-p.h    \
X   qofclass.h        \
X   qofchoice.h       \
X   qofevent.h        \
X   qofgobj.h         \
X   qofid.h           \
X   qofid-p.h         \
X   qofinstance-p.h   \
X   qofinstance.h     \
X   qofquery.h        \
X   qofbook.h         \
X   qofbookslots.h    \
X   qoflog.h          \
X   qofobject.h       \
X   qofquerycore.h    \
X   qofreference.h    \
X   qofsession.h      \
X   qofsql.h          \
X   qofutil.h         \
X   qofbookmerge.h    \
X   qof-gobject.h
X
noinst_HEADERS = \
X   md5.h  \
X   qofclass-p.h  \
X   qofmath128.h  \
X   qofquery-p.h  \
X   qofquery-deserial.h \
X   qofquery-serialize.h \
X   qofbook-p.h  \
X   qofevent-p.h \
X   qofobject-p.h  \
X   qofquerycore-p.h \
X   qofsession-p.h
X
EXTRA_DIST = \
X  qofmath128.c
X
if OS_WIN32
libgnc_qof_la_SOURCES += qof-win32.c
else
EXTRA_DIST += qof-win32.c
endif
X
## For testing the qofmath128 routines
# run "make check" (to build the test program) and then run test-qofmath
check_PROGRAMS = test-qofmath
test_qofmath_SOURCES=gnc-numeric.c
test_qofmath_CPPFLAGS=$(AM_CPPFLAGS) -DTEST_128_BIT_MULT
test_qofmath_LDFLAGS=$(libgnc_qof_la_LDFLAGS)
test_qofmath_LDADD=$(libgnc_qof_la_LIBADD)
X
INCLUDES = -DG_LOG_DOMAIN=\"qof\"
SHAR_EOF
  (set 20 10 05 09 19 07 37 'gnucash/src/libqof/qof/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/libqof/qof/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/libqof/qof/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/libqof/qof/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
309c21062d1636cb4e3cf559197c0fad  gnucash/src/libqof/qof/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/libqof/qof/Makefile.am'` -ne 2246 && \
  ${echo} "restoration warning:  size of 'gnucash/src/libqof/qof/Makefile.am' is not 2246"
  fi
fi
# ============= gnucash/src/report/business-reports/Makefile.am ==============
if test ! -d 'gnucash/src/report'; then
  mkdir 'gnucash/src/report'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report."
else ${echo} "x - failed to create directory gnucash/src/report."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/business-reports'; then
  mkdir 'gnucash/src/report/business-reports'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/business-reports."
else ${echo} "x - failed to create directory gnucash/src/report/business-reports."
     exit 1
fi
fi
if test -f 'gnucash/src/report/business-reports/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/business-reports/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/business-reports/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/business-reports/Makefile.am' &&
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report
gncscmmod_DATA = \
X   aging.scm \
X   business-reports.scm \
X   easy-invoice.scm \
X   fancy-invoice.scm \
X   taxinvoice.scm \
X   taxinvoice.eguile.scm \
X   taxinvoice.css \
X   invoice.scm \
X   job-report.scm \
X   owner-report.scm \
X   payables.scm \
X   receivables.scm
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = ${gncscmmod_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
EXTRA_DIST = \
X  ${gncscmmod_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.reports\"
SHAR_EOF
  (set 20 10 09 05 19 37 29 'gnucash/src/report/business-reports/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/business-reports/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/business-reports/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/business-reports/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
af701ec61a5cd8fa808909992c3e7bbf  gnucash/src/report/business-reports/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/business-reports/Makefile.am'` -ne 999 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/business-reports/Makefile.am' is not 999"
  fi
fi
# ============= gnucash/src/report/report-gnome/Makefile.am ==============
if test ! -d 'gnucash/src/report/report-gnome'; then
  mkdir 'gnucash/src/report/report-gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-gnome."
else ${echo} "x - failed to create directory gnucash/src/report/report-gnome."
     exit 1
fi
fi
if test -f 'gnucash/src/report/report-gnome/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/report-gnome/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/report-gnome/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/report-gnome/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-report-gnome.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/html \
X  -I${top_srcdir}/src/report/report-system \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLADE_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GNOME_CFLAGS} \
X  ${GLIB_CFLAGS}
X
libgncmod_report_gnome_la_SOURCES = \
X  swig-report-gnome.c \
X  dialog-column-view.c \
X  dialog-custom-report.c \
X  dialog-style-sheet.c \
X  gnc-plugin-page-report.c \
X  gncmod-report-gnome.c \
X  window-report.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  dialog-column-view.h \
X  dialog-custom-report.h \
X  dialog-style-sheet.h \
X  gnc-plugin-page-report.h \
X  window-report.h
X
libgncmod_report_gnome_la_LDFLAGS = -avoid-version
X
libgncmod_report_gnome_la_LIBADD = \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/html/libgncmod-html.la \
X  ${top_builddir}/src/report/report-system/libgncmod-report-system.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLADE_LIBS} \
X  ${GUILE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLIB_LIBS}
X
if BUILDING_FROM_SVN
swig-report-gnome.c: report-gnome.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report
gncmod_DATA = report-gnome.scm
X
noinst_DATA = .scm-links
X
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  report.glade \
X  custom-report-dialog.glade
X
uidir = $(GNC_UI_DIR)
X
ui_DATA = \
X	gnc-plugin-page-report-ui.xml
X
EXTRA_DIST = \
X  report-gnome.i \
X  ${glade_DATA} \
X  ${gncmod_DATA} \
X  ${ui_DATA}
X
if GNUCASH_SEPARATE_BUILDDIR
#Only needed when srcdir and builddir are different
# for running
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
CLEANFILES = gnucash report .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-report-gnome.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.gui\"
SHAR_EOF
  (set 20 10 03 26 15 09 26 'gnucash/src/report/report-gnome/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/report-gnome/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/report-gnome/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/report-gnome/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
00e215dd5d29b3ba748be4fe49eda620  gnucash/src/report/report-gnome/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/report-gnome/Makefile.am'` -ne 2721 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/report-gnome/Makefile.am' is not 2721"
  fi
fi
# ============= gnucash/src/report/report-gnome/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/report-gnome'; then
  mkdir 'gnucash/src/report/report-gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-gnome."
else ${echo} "x - failed to create directory gnucash/src/report/report-gnome."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/report-gnome/test'; then
  mkdir 'gnucash/src/report/report-gnome/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-gnome/test."
else ${echo} "x - failed to create directory gnucash/src/report/report-gnome/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/report-gnome/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/report-gnome/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/report-gnome/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/report-gnome/test/Makefile.am' &&
TESTS = \
X  test-link-module \
X  test-load-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/app-utils \
X  --gnc-module-dir ${top_builddir}/src/report/report-gnome \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/xml \
X  --library-dir    ${top_builddir}/src/app-utils \
X  --library-dir    ${top_builddir}/src/gnome-utils \
X  --library-dir    ${top_builddir}/src/report/report-system
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
LDADD = \
X    ${top_builddir}/src/report/report-gnome/libgncmod-report-gnome.la \
X	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la
X
check_PROGRAMS = test-link-module
X
EXTRA_DIST = test-load-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/report-gnome/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/report-gnome/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/report-gnome/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/report-gnome/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
d6a46267c6312dbca73d58b46fb4642e  gnucash/src/report/report-gnome/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/report-gnome/test/Makefile.am'` -ne 1048 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/report-gnome/test/Makefile.am' is not 1048"
  fi
fi
# ============= gnucash/src/report/report-system/Makefile.am ==============
if test ! -d 'gnucash/src/report/report-system'; then
  mkdir 'gnucash/src/report/report-system'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-system."
else ${echo} "x - failed to create directory gnucash/src/report/report-system."
     exit 1
fi
fi
if test -f 'gnucash/src/report/report-system/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/report-system/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/report-system/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/report-system/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-report-system.la
X
libgncmod_report_system_la_SOURCES = \
X  swig-report-system.c \
X  gncmod-report-system.c \
X  gnc-report.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  gnc-report.h
X
libgncmod_report_system_la_LDFLAGS = -avoid-version
X
libgncmod_report_system_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${GTK_LIBS}
X
if BUILDING_FROM_SVN
swig-report-system.c: report-system.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  ${GLIB_CFLAGS} \
X  ${GTK_CFLAGS} \
X  ${GUILE_INCS}
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = \
X     commodity-utilities.scm  \
X     html-acct-table.scm \
X     html-barchart.scm \
X     html-document.scm \
X     html-fonts.scm \
X     html-piechart.scm \
X     html-scatter.scm \
X     html-linechart.scm \
X     html-style-info.scm \
X     html-style-sheet.scm \
X     html-table.scm \
X     html-text.scm \
X     html-utilities.scm \
X     options-utilities.scm \
X     report-utilities.scm \
X     report.scm 
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report-system
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmmod_DATA = \
X    report-system.scm \
X	eguile-gnc.scm \
X	eguile-utilities.scm \
X	eguile-html-utilities.scm
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
# for running
SCM_FILE_LINKS = \
X  ${gncscmmod_DATA} \
X  ${gncscm_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
X
EXTRA_DIST = report-system.i ${gncscmmod_DATA} ${gncscm_DATA}
X
CLEANFILES = gnucash report .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-report-system.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.core\"
SHAR_EOF
  (set 20 10 07 11 20 32 19 'gnucash/src/report/report-system/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/report-system/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/report-system/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/report-system/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
2b68db61b1b8a7ca6ed6ea019a9c2f57  gnucash/src/report/report-system/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/report-system/Makefile.am'` -ne 2294 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/report-system/Makefile.am' is not 2294"
  fi
fi
# ============= gnucash/src/report/report-system/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/report-system'; then
  mkdir 'gnucash/src/report/report-system'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-system."
else ${echo} "x - failed to create directory gnucash/src/report/report-system."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/report-system/test'; then
  mkdir 'gnucash/src/report/report-system/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/report-system/test."
else ${echo} "x - failed to create directory gnucash/src/report/report-system/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/report-system/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/report-system/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/report-system/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/report-system/test/Makefile.am' &&
TESTS = \
X  test-link-module \
X  test-load-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/report/report-system \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/app-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
X
check_PROGRAMS = test-link-module
X
EXTRA_DIST = test-load-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/report-system/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/report-system/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/report-system/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/report-system/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5eb67a74dc4849ce9f0ced3dc5f1b125  gnucash/src/report/report-system/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/report-system/test/Makefile.am'` -ne 690 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/report-system/test/Makefile.am' is not 690"
  fi
fi
# ============= gnucash/src/report/locale-specific/us/Makefile.am ==============
if test ! -d 'gnucash/src/report/locale-specific'; then
  mkdir 'gnucash/src/report/locale-specific'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/locale-specific."
else ${echo} "x - failed to create directory gnucash/src/report/locale-specific."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/locale-specific/us'; then
  mkdir 'gnucash/src/report/locale-specific/us'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/locale-specific/us."
else ${echo} "x - failed to create directory gnucash/src/report/locale-specific/us."
     exit 1
fi
fi
if test -f 'gnucash/src/report/locale-specific/us/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/locale-specific/us/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/locale-specific/us/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/locale-specific/us/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-locale-reports-us.la
X
libgncmod_locale_reports_us_la_SOURCES = \
X  gncmod-locale-reports-us.c 
X
libgncmod_locale_reports_us_la_LDFLAGS = -avoid-version
X
libgncmod_locale_reports_us_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} 
X
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} ${GLIB_CFLAGS}
X
## This is unused and therefore no longer installed and/or loaded
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/locale-specific
gncscmmod_DATA = us.scm de_DE.scm
X
gncscmothermoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmothermod_DATA = taxtxf.scm taxtxf-de_DE.scm
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = \
X  ${gncscmmod_DATA} \
X  ${gncscmothermod_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
X	mkdir -p  gnucash/report/locale-specific
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report/locale-specific; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../../$$A . ; done )
X	( cd gnucash/report; for A in $(gncscmothermod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
EXTRA_DIST = \
X  ${gncscmothermod_DATA} \
X  ${gncscmmod_DATA} 
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.locale.us\"
SHAR_EOF
  (set 20 10 03 26 15 09 25 'gnucash/src/report/locale-specific/us/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/locale-specific/us/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/locale-specific/us/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/locale-specific/us/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9ca1dec116ec8261cecb4e69b0fb611a  gnucash/src/report/locale-specific/us/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/locale-specific/us/Makefile.am'` -ne 1640 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/locale-specific/us/Makefile.am' is not 1640"
  fi
fi
# ============= gnucash/src/report/locale-specific/us/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/locale-specific/us'; then
  mkdir 'gnucash/src/report/locale-specific/us'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/locale-specific/us."
else ${echo} "x - failed to create directory gnucash/src/report/locale-specific/us."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/locale-specific/us/test'; then
  mkdir 'gnucash/src/report/locale-specific/us/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/locale-specific/us/test."
else ${echo} "x - failed to create directory gnucash/src/report/locale-specific/us/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/locale-specific/us/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/locale-specific/us/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/locale-specific/us/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/locale-specific/us/test/Makefile.am' &&
TESTS = test-link-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/tax/us \
X  --gnc-module-dir ${top_builddir}/src/report/report-system \
X  --gnc-module-dir ${top_builddir}/src/report/locale-specific/us \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/tax/us \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/app-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = test-link-module
X
testit:
X	${TESTS_ENVIRONMENT} gdb guile
X
test_link_module_SOURCES = test-link-module.c
test_link_module_LDADD= \
X  ${top_builddir}/src/report/locale-specific/us/libgncmod-locale-reports-us.la
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/locale-specific/us/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/locale-specific/us/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/locale-specific/us/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/locale-specific/us/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
1b0c750f40944ab9bfcf149a178d7f85  gnucash/src/report/locale-specific/us/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/locale-specific/us/test/Makefile.am'` -ne 989 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/locale-specific/us/test/Makefile.am' is not 989"
  fi
fi
# ============= gnucash/src/report/locale-specific/Makefile.am ==============
if test -f 'gnucash/src/report/locale-specific/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/locale-specific/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/locale-specific/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/locale-specific/Makefile.am' &&
SUBDIRS = us
SHAR_EOF
  (set 20 10 03 26 15 09 25 'gnucash/src/report/locale-specific/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/locale-specific/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/locale-specific/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/locale-specific/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
bb55f6156b2f63c9f7ca125450e9ea46  gnucash/src/report/locale-specific/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/locale-specific/Makefile.am'` -ne 13 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/locale-specific/Makefile.am' is not 13"
  fi
fi
# ============= gnucash/src/report/Makefile.am ==============
if test -f 'gnucash/src/report/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/Makefile.am' &&
NONGUI_SUBDIRS = \
X  report-system \
X  standard-reports \
X  utility-reports \
X  business-reports \
X  locale-specific
X
GUI_SUBDIRS = \
X  report-gnome \
X  stylesheets
X
if GNUCASH_ENABLE_GUI
SUBDIRS = $(NONGUI_SUBDIRS) $(GUI_SUBDIRS)
else 
SUBDIRS = $(NONGUI_SUBDIRS)
endif
X
DIST_SUBDIRS = $(NONGUI_SUBDIRS) $(GUI_SUBDIRS)
SHAR_EOF
  (set 20 10 09 05 19 37 29 'gnucash/src/report/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
08c14a0b8e22a6f131f856b5f4edff76  gnucash/src/report/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/Makefile.am'` -ne 320 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/Makefile.am' is not 320"
  fi
fi
# ============= gnucash/src/report/standard-reports/Makefile.am ==============
if test ! -d 'gnucash/src/report/standard-reports'; then
  mkdir 'gnucash/src/report/standard-reports'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/standard-reports."
else ${echo} "x - failed to create directory gnucash/src/report/standard-reports."
     exit 1
fi
fi
if test -f 'gnucash/src/report/standard-reports/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/standard-reports/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/standard-reports/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/standard-reports/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-standard-reports.la
X
libgncmod_standard_reports_la_SOURCES = \
X  gncmod-standard-reports.c
X
libgncmod_standard_reports_la_LDFLAGS = -avoid-version
X
libgncmod_standard_reports_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmmod_DATA = \
X   standard-reports.scm \
X   balsheet-eg.css \
X   balsheet-eg.eguile.scm
X
gncscmreportmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/standard-reports
gncscmreportmod_DATA = \
X   account-piecharts.scm \
X   account-summary.scm \
X   advanced-portfolio.scm \
X   average-balance.scm \
X   balance-sheet.scm \
X   budget.scm \
X   budget-balance-sheet.scm \
X   budget-barchart.scm \
X   budget-flow.scm \
X   budget-income-statement.scm \
X   cash-flow.scm \
X   category-barchart.scm \
X   daily-reports.scm \
X   equity-statement.scm \
X   net-barchart.scm \
X   income-statement.scm \
X   portfolio.scm \
X   price-scatter.scm \
X   register.scm \
X   trial-balance.scm \
X   general-journal.scm \
X   general-ledger.scm \
X   transaction.scm \
X   balsheet-eg.scm
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = ${gncscmmod_DATA} ${gncscmreportmod_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
X	mkdir -p  gnucash/report/standard-reports
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
X	( cd gnucash/report/standard-reports; for A in $(gncscmreportmod_DATA) ; do $(LN_S) -f ../../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
EXTRA_DIST = ${gncscmmod_DATA} ${gncscmreportmod_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.standard\"
SHAR_EOF
  (set 20 10 04 17 16 32 39 'gnucash/src/report/standard-reports/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/standard-reports/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/standard-reports/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/standard-reports/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
16185654ce22aa40d4131c950e6088e5  gnucash/src/report/standard-reports/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/standard-reports/Makefile.am'` -ne 2160 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/standard-reports/Makefile.am' is not 2160"
  fi
fi
# ============= gnucash/src/report/standard-reports/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/standard-reports'; then
  mkdir 'gnucash/src/report/standard-reports'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/standard-reports."
else ${echo} "x - failed to create directory gnucash/src/report/standard-reports."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/standard-reports/test'; then
  mkdir 'gnucash/src/report/standard-reports/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/standard-reports/test."
else ${echo} "x - failed to create directory gnucash/src/report/standard-reports/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/standard-reports/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/standard-reports/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/standard-reports/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/standard-reports/test/Makefile.am' &&
TESTS=test-load-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/report/report-system \
X  --gnc-module-dir ${top_builddir}/src/report/standard-reports \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/app-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
EXTRA_DIST = test-load-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/standard-reports/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/standard-reports/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/standard-reports/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/standard-reports/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
73f29c7f3e87f1651ed5372621a7d90d  gnucash/src/report/standard-reports/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/standard-reports/test/Makefile.am'` -ne 692 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/standard-reports/test/Makefile.am' is not 692"
  fi
fi
# ============= gnucash/src/report/stylesheets/Makefile.am ==============
if test ! -d 'gnucash/src/report/stylesheets'; then
  mkdir 'gnucash/src/report/stylesheets'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/stylesheets."
else ${echo} "x - failed to create directory gnucash/src/report/stylesheets."
     exit 1
fi
fi
if test -f 'gnucash/src/report/stylesheets/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/stylesheets/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/stylesheets/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/stylesheets/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-stylesheets.la
X
libgncmod_stylesheets_la_SOURCES = \
X  gnc-plugin-stylesheets.c \
X  gncmod-stylesheets.c 
X
noinst_HEADERS = \
X  gnc-plugin-stylesheets.h
X
libgncmod_stylesheets_la_LDFLAGS = -module -avoid-version
X
libgncmod_stylesheets_la_LIBADD = \
X  ${top_builddir}/src/report/report-gnome/libgncmod-report-gnome.la \
X  ${top_builddir}/src/report/report-system/libgncmod-report-system.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/report/report-gnome \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GNOME_CFLAGS}
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmmod_DATA = \
X  stylesheets.scm \
X  stylesheet-plain.scm \
X  stylesheet-fancy.scm \
X  stylesheet-footer.scm \
X  stylesheet-easy.scm
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = ${gncscmmod_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
uidir = $(GNC_UI_DIR)
dist_ui_DATA = \
X	gnc-plugin-stylesheets-ui.xml
X
EXTRA_DIST = ${gncscmmod_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.core\"
SHAR_EOF
  (set 20 10 05 15 16 57 01 'gnucash/src/report/stylesheets/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/stylesheets/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/stylesheets/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/stylesheets/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
2baa2dcfd5a0cca1610556cd1ac67230  gnucash/src/report/stylesheets/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/stylesheets/Makefile.am'` -ne 1900 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/stylesheets/Makefile.am' is not 1900"
  fi
fi
# ============= gnucash/src/report/stylesheets/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/stylesheets'; then
  mkdir 'gnucash/src/report/stylesheets'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/stylesheets."
else ${echo} "x - failed to create directory gnucash/src/report/stylesheets."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/stylesheets/test'; then
  mkdir 'gnucash/src/report/stylesheets/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/stylesheets/test."
else ${echo} "x - failed to create directory gnucash/src/report/stylesheets/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/stylesheets/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/stylesheets/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/stylesheets/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/stylesheets/test/Makefile.am' &&
TESTS=test-load-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/report/report-system \
X  --gnc-module-dir ${top_builddir}/src/report/stylesheets \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/xml \
X  --library-dir    ${top_builddir}/src/app-utils \
X  --library-dir    ${top_builddir}/src/gnome-utils \
X  --library-dir    ${top_builddir}/src/report/report-system \
X  --library-dir    ${top_builddir}/src/report/report-gnome
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
EXTRA_DIST = test-load-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/stylesheets/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/stylesheets/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/stylesheets/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/stylesheets/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
465a42ac922e90cd108145f6e4d9a3e9  gnucash/src/report/stylesheets/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/stylesheets/test/Makefile.am'` -ne 916 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/stylesheets/test/Makefile.am' is not 916"
  fi
fi
# ============= gnucash/src/report/utility-reports/Makefile.am ==============
if test ! -d 'gnucash/src/report/utility-reports'; then
  mkdir 'gnucash/src/report/utility-reports'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/utility-reports."
else ${echo} "x - failed to create directory gnucash/src/report/utility-reports."
     exit 1
fi
fi
if test -f 'gnucash/src/report/utility-reports/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/utility-reports/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/utility-reports/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/utility-reports/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-utility-reports.la
X
libgncmod_utility_reports_la_SOURCES = \
X  gncmod-utility-reports.c 
libgncmod_utility_reports_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
libgncmod_utility_reports_la_LDFLAGS = -module -avoid-version
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  ${GUILE_INCS} ${GLIB_CFLAGS}
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmmod_DATA = \
X  hello-world.scm \
X  utility-reports.scm \
X  view-column.scm \
X  welcome-to-gnucash.scm
X
#  test-graphing.scm -- not intended for general public?!? Surely not translated at all.
X
if GNUCASH_SEPARATE_BUILDDIR
#For separate build directory
SCM_FILE_LINKS = \
X  ${gncscmmod_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/report
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/report; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
noinst_DATA = .scm-links
X
EXTRA_DIST = ${gncscmmod_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.report.util\"
SHAR_EOF
  (set 20 10 03 26 15 09 25 'gnucash/src/report/utility-reports/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/utility-reports/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/utility-reports/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/utility-reports/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
370c8b5abb88c2fda81049cda377d890  gnucash/src/report/utility-reports/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/utility-reports/Makefile.am'` -ne 1389 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/utility-reports/Makefile.am' is not 1389"
  fi
fi
# ============= gnucash/src/report/utility-reports/test/Makefile.am ==============
if test ! -d 'gnucash/src/report/utility-reports'; then
  mkdir 'gnucash/src/report/utility-reports'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/utility-reports."
else ${echo} "x - failed to create directory gnucash/src/report/utility-reports."
     exit 1
fi
fi
if test ! -d 'gnucash/src/report/utility-reports/test'; then
  mkdir 'gnucash/src/report/utility-reports/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/report/utility-reports/test."
else ${echo} "x - failed to create directory gnucash/src/report/utility-reports/test."
     exit 1
fi
fi
if test -f 'gnucash/src/report/utility-reports/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/report/utility-reports/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/report/utility-reports/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/report/utility-reports/test/Makefile.am' &&
TESTS = test-load-module
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/report/report-system \
X  --gnc-module-dir ${top_builddir}/src/report/utility-reports \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/app-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
EXTRA_DIST = test-load-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/report/utility-reports/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/report/utility-reports/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/report/utility-reports/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/report/utility-reports/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
c5a586de23da7cefa40a4dc0adcffc78  gnucash/src/report/utility-reports/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/report/utility-reports/test/Makefile.am'` -ne 693 && \
  ${echo} "restoration warning:  size of 'gnucash/src/report/utility-reports/test/Makefile.am' is not 693"
  fi
fi
# ============= gnucash/src/optional/python-bindings/Makefile.am ==============
if test ! -d 'gnucash/src/optional'; then
  mkdir 'gnucash/src/optional'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/optional."
else ${echo} "x - failed to create directory gnucash/src/optional."
     exit 1
fi
fi
if test ! -d 'gnucash/src/optional/python-bindings'; then
  mkdir 'gnucash/src/optional/python-bindings'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/optional/python-bindings."
else ${echo} "x - failed to create directory gnucash/src/optional/python-bindings."
     exit 1
fi
fi
if test -f 'gnucash/src/optional/python-bindings/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/optional/python-bindings/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/optional/python-bindings/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/optional/python-bindings/Makefile.am' &&
SUBDIRS = . tests
X
SWIG_FILES = gnucash_core.i timespec.i
X
pkgpython_PYTHON = \
X  __init__.py \
X  function_class.py \
X  gnucash_core.py \
X  gnucash_core_c.py \
X  gnucash_business.py
X
pkgpyexec_LTLIBRARIES = _gnucash_core_c.la
X
_gnucash_core_c_la_SOURCES = \
X  gnucash_core.c
X
_gnucash_core_c_la_CPPFLAGS = \
X  $(PYTHON_CPPFLAGS) \
X  $(GLIB_CFLAGS) \
X  $(GNOME_CFLAGS) \
X  -I${top_srcdir}/src/libqof/qof \
X  -I$(top_srcdir)/src  \
X  -I$(top_srcdir)/src/engine \
X  -I$(top_srcdir)/src/business/business-core \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnome \
X	-I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module
X
# Suppress all warnings for now, but we really only need to -Wno-implicit
AM_CFLAGS = -w
X
_gnucash_core_c_la_LDFLAGS = -avoid-version -module
X
_gnucash_core_c_la_LIBADD = \
X  ${GLIB_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la
if BUILDING_FROM_SVN
_gnucash_core_c_includes= \
X	${top_builddir}/config.h \
X	${top_srcdir}/src/libqof/qof/qofsession.h \
X	${top_srcdir}/src/libqof/qof/qofbook.h \
X	${top_srcdir}/src/libqof/qof/qofbackend.h \
X	${top_srcdir}/src/libqof/qof/qoflog.h \
X	${top_srcdir}/src/libqof/qof/qofutil.h \
X	${top_srcdir}/src/libqof/qof/qofid.h \
X	${top_srcdir}/src/libqof/qof/guid.h \
X	${top_srcdir}/src/gnc-module/gnc-module.h \
X	${top_srcdir}/src/engine/gnc-engine.h \
X	${top_srcdir}/src/engine/Transaction.h \
X	${top_srcdir}/src/gnc/Transaction.hpp \
X	${top_srcdir}/src/engine/Split.h \
X	${top_srcdir}/src/engine/Account.h \
X	${top_srcdir}/src/engine/gnc-commodity.h \
X	${top_srcdir}/src/engine/gnc-lot.h \
X	${top_srcdir}/src/libqof/qof/gnc-numeric.h \
X	${top_srcdir}/src/engine/gncCustomer.h \
X	${top_srcdir}/src/engine/gncEmployee.h \
X	${top_srcdir}/src/engine/gncVendor.h \
X	${top_srcdir}/src/engine/gncAddress.h \
X	${top_srcdir}/src/engine/gncBillTerm.h \
X	${top_srcdir}/src/engine/gncOwner.h \
X	${top_srcdir}/src/engine/gncInvoice.h \
X	${top_srcdir}/src/engine/gncJob.h \
X	${top_srcdir}/src/engine/gncEntry.h \
X	${top_srcdir}/src/engine/gncTaxTable.h \
X	${top_srcdir}/src/engine/gncIDSearch.h
X
X
gnucash_core.c: $(SWIG_FILES) ${top_srcdir}/src/base-typemaps.i ${top_srcdir}/src/engine/engine-common.i $(_gnucash_core_c_includes)
X	swig -python -Wall -Werror \
X	-I$(top_srcdir)/src -I$(top_srcdir)/src/engine \
X	-I$(top_srcdir)/src/business/business-core \
X	-I${top_srcdir}/src/libqof/qof \
X	-o $@ $<
X
gnucash_core_c.py: gnucash_core.c $(SWIG_FILES)
endif
X
EXTRA_DIST = \
X  $(SWIG_FILES) \
X  example_scripts/simple_book.py \
X  example_scripts/simple_session.py \
X  example_scripts/simple_test.py \
X  example_scripts/simple_business_create.py \
X  example_scripts/simple_invoice_insert.py \
X  example_scripts/simple_sqlite_create.py \
X  example_scripts/change_tax_code.py \
X  example_scripts/account_analysis.py \
X  example_scripts/new_book_with_opening_balances.py \
X  example_scripts/test_imbalance_transaction.py \
X  glib.i
X
MAINTAINERCLEANFILES = gnucash_core.c
X
SHAR_EOF
  (set 20 10 11 20 22 43 22 'gnucash/src/optional/python-bindings/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/optional/python-bindings/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/optional/python-bindings/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/optional/python-bindings/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
0a7b770f01acef7efcb1b4f6b687b3a5  gnucash/src/optional/python-bindings/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/optional/python-bindings/Makefile.am'` -ne 3143 && \
  ${echo} "restoration warning:  size of 'gnucash/src/optional/python-bindings/Makefile.am' is not 3143"
  fi
fi
# ============= gnucash/src/optional/python-bindings/tests/Makefile.am ==============
if test ! -d 'gnucash/src/optional/python-bindings'; then
  mkdir 'gnucash/src/optional/python-bindings'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/optional/python-bindings."
else ${echo} "x - failed to create directory gnucash/src/optional/python-bindings."
     exit 1
fi
fi
if test ! -d 'gnucash/src/optional/python-bindings/tests'; then
  mkdir 'gnucash/src/optional/python-bindings/tests'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/optional/python-bindings/tests."
else ${echo} "x - failed to create directory gnucash/src/optional/python-bindings/tests."
     exit 1
fi
fi
if test -f 'gnucash/src/optional/python-bindings/tests/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/optional/python-bindings/tests/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/optional/python-bindings/tests/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/optional/python-bindings/tests/Makefile.am' &&
TESTS_ENVIRONMENT = PYTHONPATH=$(PYTHONPATH):$(pythondir) $(top_builddir)/src/bin/gnucash-env $(PYTHON)
TESTS = runTests.py
X
clean-local:
X	rm -f translog.*
X
EXTRA_DIST = \
X  runTests.py \
X  test_account.py \
X  test_book.py \
X  test_split.py \
X  test_transaction.py
SHAR_EOF
  (set 20 10 03 26 15 09 18 'gnucash/src/optional/python-bindings/tests/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/optional/python-bindings/tests/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/optional/python-bindings/tests/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/optional/python-bindings/tests/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
651bb0c242b68269292e9842ca23d7be  gnucash/src/optional/python-bindings/tests/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/optional/python-bindings/tests/Makefile.am'` -ne 265 && \
  ${echo} "restoration warning:  size of 'gnucash/src/optional/python-bindings/tests/Makefile.am' is not 265"
  fi
fi
# ============= gnucash/src/optional/Makefile.am ==============
if test -f 'gnucash/src/optional/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/optional/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/optional/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/optional/Makefile.am' &&
SUBDIRS = ${PYTHON_DIR}
DIST_SUBDIRS = python-bindings
SHAR_EOF
  (set 20 10 05 09 19 07 35 'gnucash/src/optional/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/optional/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/optional/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/optional/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
759375c271ec61679f2263125986bbce  gnucash/src/optional/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/optional/Makefile.am'` -ne 55 && \
  ${echo} "restoration warning:  size of 'gnucash/src/optional/Makefile.am' is not 55"
  fi
fi
# ============= gnucash/src/bin/overrides/Makefile.am ==============
if test ! -d 'gnucash/src/bin'; then
  mkdir 'gnucash/src/bin'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/bin."
else ${echo} "x - failed to create directory gnucash/src/bin."
     exit 1
fi
fi
if test ! -d 'gnucash/src/bin/overrides'; then
  mkdir 'gnucash/src/bin/overrides'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/bin/overrides."
else ${echo} "x - failed to create directory gnucash/src/bin/overrides."
     exit 1
fi
fi
if test -f 'gnucash/src/bin/overrides/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/bin/overrides/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/bin/overrides/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/bin/overrides/Makefile.am' &&
gncoverridesdir = ${GNC_LIBEXECDIR}/overrides
# When you add a file here, please modify ../test/Makefile.am's overrides.stamp
gncoverrides_SCRIPTS = \
X  gnucash-env \
X  gnucash-make-guids \
X  guile
X
EXTRA_DIST = \
X  gnucash-env.in \
X  gnucash-build-env.in \
X  gnucash-make-guids \
X  guile.in 
X
noinst_DATA = gnucash-build-env
X
PWD := $(shell pwd)
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets below, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.  *sigh*
X
guile: guile.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e 's#@-GUILE-@#${GUILE}#'
X	mv $@.tmp $@
X	chmod u+x $@
CLEANFILES = guile
X
gnucash-env: gnucash-env.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e 's#@-GNC_GUILE_MODULE_DIR-@#${GNC_SHAREDIR}/guile-modules#g' \
X	    -e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
X            -e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
X            -e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
X            -e 's#@-GNC_SCRIPT_OVERRIDE_DIR-@#${gncoverridedir}#g'
X	mv $@.tmp $@
X	chmod u+x $@
CLEANFILES += gnucash-env
X
gnucash-build-env: gnucash-build-env.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's#@-GNC_BUILDDIR-@#${abs_top_builddir}#g' \
X            -e 's#@-GNC_SRCDIR-@#${abs_top_srcdir}#g'
X	mv $@.tmp $@
X	chmod u+x $@
CLEANFILES += gnucash-build-env
SHAR_EOF
  (set 20 10 07 11 20 00 44 'gnucash/src/bin/overrides/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/bin/overrides/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/bin/overrides/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/bin/overrides/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ac4c9bc7924b3c24421075b17df36542  gnucash/src/bin/overrides/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/bin/overrides/Makefile.am'` -ne 1524 && \
  ${echo} "restoration warning:  size of 'gnucash/src/bin/overrides/Makefile.am' is not 1524"
  fi
fi
# ============= gnucash/src/bin/Makefile.am ==============
if test -f 'gnucash/src/bin/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/bin/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/bin/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/bin/Makefile.am' &&
# Order is important here.
if !PLATFORM_WIN32
SUBDIRS = . overrides test
else
SUBDIRS = . test
endif
X
AM_CPPFLAGS = -I${top_builddir} ${GLIB_CFLAGS} ${GNOME_CFLAGS} ${GTK_CFLAGS} \
X  -DPKGSYSCONFDIR=\"${GNC_CONFIGDIR}\" \
X  -DPKGDATADIR=\"${GNC_SHAREDIR}\" \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnome \
X  -I${top_builddir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${IGE_MAC_CFLAGS}
X
SUFFIXES = .rc .res
X
# Some settings are platform dependent. Let's define them per platform.
if PLATFORM_WIN32
# Windows specific settings go here:
GNUCASH_RESOURCE_FILE = gnucash.rc
dist_noinst_DATA = gnucash.rc
X
X.rc.res:
X	$(AM_V_GEN)$(RC) -i '$<' --input-format=rc -o '$@' -O coff
X	
configdir = ${GNC_CONFIGDIR}
config_DATA = environment
X
else !PLATFORM_WIN32
if PLATFORM_OSX_QUARTZ
# OSX/Quartz specific settings go here:
PLATFORM_FILES = gnucash-setup-env \
X	gnucash-launcher \
X	gnucash-gdb \
X	gnucash-valgrind
X
if CUSTOM_GNC_DBD_DIR
gnc_dbd_dir_override = export GNC_DBD_DIR="@GNC_DBD_DIR@"
endif
X
else !PLATFORM_OSX_QUARTZ
# All other platforms use these settings:
PLATFORM_FILES = gnucash-valgrind
configdir = ${GNC_CONFIGDIR}
config_DATA = environment
X
endif !PLATFORM_OSX_QUARTZ
endif !PLATFORM_WIN32
X
BIN_NAME = gnucash
bin_PROGRAMS = ${BIN_NAME}
gnucash_SOURCES = gnucash-bin.c ${GNUCASH_RESOURCE_FILE}
gnucash_LDADD = \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${GNOME_LIBS} \
X  ${GTK_LIBS} \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/gnome/libgnc-gnome.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la
X
GNUCASH_BIN_INSTALL_NAME=`echo ${BIN_NAME} | sed -e '$(transform)'`
X
gnucash-launcher: gnucash-launcher.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e "s#@-GNUCASH_BIN_INSTALL_NAME-@#${GNUCASH_BIN_INSTALL_NAME}#g"
X	mv $@.tmp $@
X	chmod u+x $@
X
gnucash-gdb: gnucash-gdb.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e "s#@-GNUCASH_BIN_INSTALL_NAME-@#${GNUCASH_BIN_INSTALL_NAME}#g"
X	mv $@.tmp $@
X	chmod u+x $@
X
gnucash-valgrind: gnucash-valgrind.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e "s#@-TOP_SRC_DIR-@#${abs_top_srcdir}#g" \
X	    -e "s#@-GNUCASH_BIN_INSTALL_NAME-@#${GNUCASH_BIN_INSTALL_NAME}#g"
X	mv $@.tmp $@
X	chmod u+x $@
X
gnucash-setup-env: gnucash-setup-env-osx.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e 's#@-BIN_DIR-@#${bindir}#g' \
X	    -e 's#@-GNC_DBD_DIR-@#${GNC_DBD_DIR}#g' \
X	    -e 's#@-GNC_GUILE_MODULE_DIR-@#${GNC_SHAREDIR}/guile-modules#g' \
X	    -e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
X	    -e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
X	    -e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
X	    -e "s#@-TOP_SRC_DIR-@#`pwd`/${top_srcdir}#g" \
X	    -e 's#@-PATH_SEPARATOR-@#${PATH_SEPARATOR}#g' \
X	    -e 's#@-PREFIX-@#${prefix}#g'
X	mv $@.tmp $@
X	chmod u+x $@
X
environment: environment.in ${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e '/@-NOTE.*-@/ D'
if CUSTOM_GNC_DBD_DIR
X	echo 'GNC_DBD_DIR=@GNC_DBD_DIR@' >> $@.tmp
endif
X	mv $@.tmp $@
X
CLEANFILES = $(BUILT_SOURCES) ${config_DATA} ${PLATFORM_FILES}
X
if !PLATFORM_WIN32
# The gnucash scripts don't make sense on Windows, so will only be
# generated and included on the other platforms.
# We handle gnucash scripts in a somewhat unexpected way, but we do
# this so that a user who doesn't necessarily have the right
# directories in their path can still invoke these commands via their
# full path, say /some/dir/not/in/path/gnucash and still have the
# right thing happen (i.e. they'll still get the right guile, and the
# right scripts if they sub-exec anything from their scripts).  If you
# want to add another gnucash script, please add the name here (which
# will cause the bindir wrapper to be created, and then put the actual
# code in a script of the same name in ./overrides.  Oh, and don't
# forget to add your script to configure.in's "Adjustments" section if
# you need to.
#
# For testing and other reasons, overrides/* scripts should not modify
# the path to re-insert the overrides dir.  This should only be done
# by these top-level "common" scripts.
gnc_common_scripts = gnucash-env gnucash-make-guids
X
bin_SCRIPTS = \
X    ${gnc_common_scripts} \
X	update-gnucash-gconf \
X	${PLATFORM_FILES}
X
# if you change gncoverridedir, make sure you change ./overrides/Makefile.am too.
gncoverridesdir = ${GNC_LIBEXECDIR}/overrides
X
## Gnucash scripts -- real code is in overrides, these just get you there.
${gnc_common_scripts}: generate-gnc-script ${top_builddir}/config.status
X	${srcdir}/generate-gnc-script $@ "${gncoverridesdir}"
X
CLEANFILES += ${gnc_common_scripts} update-gnucash-gconf
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
update-gnucash-gconf: update-gnucash-gconf.in \
X		${top_builddir}/config.status Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X	    -e 's#@-GCONF_SCHEMA_FILE_DIR-@#${GCONF_SCHEMA_FILE_DIR}#g'
X	mv $@.tmp $@
X	chmod +x $@
X
endif
X
EXTRA_DIST = \
X    generate-gnc-script \
X	update-gnucash-gconf.in \
X	gnucash-launcher.in \
X	gnucash-valgrind.in \
X	gnucash-gdb.in \
X	environment.in
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.bin\"
SHAR_EOF
  (set 20 10 09 05 19 37 27 'gnucash/src/bin/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/bin/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/bin/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/bin/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
3432119de0c4c73e94d1a8ec8c1c2738  gnucash/src/bin/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/bin/Makefile.am'` -ne 5818 && \
  ${echo} "restoration warning:  size of 'gnucash/src/bin/Makefile.am' is not 5818"
  fi
fi
# ============= gnucash/src/bin/test/Makefile.am ==============
if test ! -d 'gnucash/src/bin/test'; then
  mkdir 'gnucash/src/bin/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/bin/test."
else ${echo} "x - failed to create directory gnucash/src/bin/test."
     exit 1
fi
fi
if test -f 'gnucash/src/bin/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/bin/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/bin/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/bin/test/Makefile.am' &&
X
TESTS = test-version
X
TESTS_ENVIRONMENT = \
X	PATH="..:${PATH}"
X
EXTRA_DIST = test-version
SHAR_EOF
  (set 20 10 03 26 15 09 25 'gnucash/src/bin/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/bin/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/bin/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/bin/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
2d4c958adcfeea50c98c463984dcf024  gnucash/src/bin/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/bin/test/Makefile.am'` -ne 91 && \
  ${echo} "restoration warning:  size of 'gnucash/src/bin/test/Makefile.am' is not 91"
  fi
fi
# ============= gnucash/src/register/register-core/Makefile.am ==============
if test ! -d 'gnucash/src/register'; then
  mkdir 'gnucash/src/register'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register."
else ${echo} "x - failed to create directory gnucash/src/register."
     exit 1
fi
fi
if test ! -d 'gnucash/src/register/register-core'; then
  mkdir 'gnucash/src/register/register-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-core."
else ${echo} "x - failed to create directory gnucash/src/register/register-core."
     exit 1
fi
fi
if test -f 'gnucash/src/register/register-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/register-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/register-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/register-core/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-register-core.la
X
libgncmod_register_core_la_LDFLAGS = -avoid-version
X
libgncmod_register_core_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
libgncmod_register_core_la_SOURCES = \
X  gncmod-register-core.c \
X  basiccell.c \
X  cell-factory.c \
X  cellblock.c \
X  formulacell.c \
X  gtable.c \
X  numcell.c \
X  pricecell.c \
X  quickfillcell.c \
X  recncell.c \
X  checkboxcell.c \
X  register-common.c \
X  table-allgui.c \
X  table-control.c \
X  table-layout.c \
X  table-model.c
X
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  basiccell.h \
X  cell-factory.h \
X  cellblock.h \
X  combocell.h \
X  datecell.h \
X  formulacell.h \
X  gtable.h \
X  numcell.h \
X  pricecell.h \
X  quickfillcell.h \
X  recncell.h \
X  checkboxcell.h \
X  register-common.h \
X  table-allgui.h \
X  table-control.h \
X  table-layout.h \
X  table-model.h
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GLIB_CFLAGS}
X
CLEANFILES = $(BUILT_SOURCES)
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.register.core\"
SHAR_EOF
  (set 20 10 03 26 15 09 18 'gnucash/src/register/register-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/register-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/register-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/register-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
bde58f11484ab645105be8f72cf51cdb  gnucash/src/register/register-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/register-core/Makefile.am'` -ne 1510 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/register-core/Makefile.am' is not 1510"
  fi
fi
# ============= gnucash/src/register/register-core/test/Makefile.am ==============
if test ! -d 'gnucash/src/register/register-core'; then
  mkdir 'gnucash/src/register/register-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-core."
else ${echo} "x - failed to create directory gnucash/src/register/register-core."
     exit 1
fi
fi
if test ! -d 'gnucash/src/register/register-core/test'; then
  mkdir 'gnucash/src/register/register-core/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-core/test."
else ${echo} "x - failed to create directory gnucash/src/register/register-core/test."
     exit 1
fi
fi
if test -f 'gnucash/src/register/register-core/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/register-core/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/register-core/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/register-core/test/Makefile.am' &&
TESTS =  \
X  test-link-module
#  test-load-module
X
#GNC_TEST_DEPS := \
#
X
#TESTS_ENVIRONMENT := \
#  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link-module
X
test_link_module_SOURCES=test-link-module.c
test_link_module_LDADD= \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ../libgncmod-register-core.la
X
#EXTRA_DIST = test-load-module
X
AM_CPPFLAGS = ${GLIB_CFLAGS} -I${top_srcdir}/src/test-core -I..
SHAR_EOF
  (set 20 10 03 26 15 09 18 'gnucash/src/register/register-core/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/register-core/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/register-core/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/register-core/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f87657042ed7aa3f78d9df4e52866c90  gnucash/src/register/register-core/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/register-core/test/Makefile.am'` -ne 579 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/register-core/test/Makefile.am' is not 579"
  fi
fi
# ============= gnucash/src/register/register-gnome/Makefile.am ==============
if test ! -d 'gnucash/src/register/register-gnome'; then
  mkdir 'gnucash/src/register/register-gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-gnome."
else ${echo} "x - failed to create directory gnucash/src/register/register-gnome."
     exit 1
fi
fi
if test -f 'gnucash/src/register/register-gnome/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/register-gnome/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/register-gnome/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/register-gnome/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-register-gnome.la
X
libgncmod_register_gnome_la_LDFLAGS = -avoid-version
X
libgncmod_register_gnome_la_LIBADD = \
X  ${top_builddir}/src/register/register-core/libgncmod-register-core.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS} \
X  ${GNOME_LIBS}
X
libgncmod_register_gnome_la_SOURCES = \
X  gncmod-register-gnome.c \
X  combocell-gnome.c \
X  datecell-gnome.c \
X  formulacell-gnome.c \
X  gnucash-color.c \
X  gnucash-cursor.c \
X  gnucash-date-picker.c \
X  gnucash-grid.c \
X  gnucash-header.c \
X  gnucash-item-edit.c \
X  gnucash-item-list.c \
X  gnucash-scrolled-window.c \
X  gnucash-sheet.c \
X  gnucash-style.c \
X  pricecell-gnome.c \
X  quickfillcell-gnome.c \
X  table-gnome.c 
X
noinst_HEADERS = \
X  formulacell-gnome.h \
X  gnucash-color.h \
X  gnucash-cursor.h \
X  gnucash-date-picker.h \
X  gnucash-grid.h \
X  gnucash-header.h \
X  gnucash-item-edit.h \
X  gnucash-item-list.h \
X  gnucash-scrolled-window.h \
X  gnucash-sheet.h \
X  gnucash-style.h \
X  pricecell-gnome.h \
X  quickfillcell-gnome.h \
X  table-gnome.h
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/register/ledger-core \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLADE_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GTK_XIM_FLAGS} \
X  ${GNOME_CFLAGS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.register.gnome\"
SHAR_EOF
  (set 20 10 03 26 15 09 17 'gnucash/src/register/register-gnome/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/register-gnome/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/register-gnome/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/register-gnome/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
cd5d435c7f961a69156ab155f19f01f2  gnucash/src/register/register-gnome/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/register-gnome/Makefile.am'` -ne 1838 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/register-gnome/Makefile.am' is not 1838"
  fi
fi
# ============= gnucash/src/register/register-gnome/test/Makefile.am ==============
if test ! -d 'gnucash/src/register/register-gnome'; then
  mkdir 'gnucash/src/register/register-gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-gnome."
else ${echo} "x - failed to create directory gnucash/src/register/register-gnome."
     exit 1
fi
fi
if test ! -d 'gnucash/src/register/register-gnome/test'; then
  mkdir 'gnucash/src/register/register-gnome/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/register-gnome/test."
else ${echo} "x - failed to create directory gnucash/src/register/register-gnome/test."
     exit 1
fi
fi
if test -f 'gnucash/src/register/register-gnome/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/register-gnome/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/register-gnome/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/register-gnome/test/Makefile.am' &&
TESTS =  \
X  test-link-module
#  test-load-module
X
#GNC_TEST_DEPS := \
#
X
#TESTS_ENVIRONMENT := \
#  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link-module
X
test_link_module_SOURCES = test-link-module.c
test_link_module_LDADD = \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ../libgncmod-register-gnome.la
X
#EXTRA_DIST = test-load-module
X
AM_CPPFLAGS = -I${top_srcdir}/src/test-core -I.. ${GLIB_CFLAGS}
SHAR_EOF
  (set 20 10 03 26 15 09 17 'gnucash/src/register/register-gnome/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/register-gnome/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/register-gnome/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/register-gnome/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e3b4bce3aed54dc151589de5f5cc7bd9  gnucash/src/register/register-gnome/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/register-gnome/test/Makefile.am'` -ne 583 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/register-gnome/test/Makefile.am' is not 583"
  fi
fi
# ============= gnucash/src/register/Makefile.am ==============
if test -f 'gnucash/src/register/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/Makefile.am' &&
SUBDIRS=register-core register-gnome ledger-core 
SHAR_EOF
  (set 20 10 03 26 15 09 18 'gnucash/src/register/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
1c7f509c6e7bbbdace25d8cde59a0ca5  gnucash/src/register/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/Makefile.am'` -ne 50 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/Makefile.am' is not 50"
  fi
fi
# ============= gnucash/src/register/ledger-core/Makefile.am ==============
if test ! -d 'gnucash/src/register/ledger-core'; then
  mkdir 'gnucash/src/register/ledger-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/ledger-core."
else ${echo} "x - failed to create directory gnucash/src/register/ledger-core."
     exit 1
fi
fi
if test -f 'gnucash/src/register/ledger-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/ledger-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/ledger-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/ledger-core/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-ledger-core.la
X
libgncmod_ledger_core_la_SOURCES = \
X  dialog-dup-trans.c \
X  gnc-ledger-display.c \
X  gncmod-ledger-core.c \
X  split-register.c \
X  split-register-control.c \
X  split-register-layout.c \
X  split-register-load.c \
X  split-register-model.c \
X  split-register-model-save.c \
X  split-register-util.c
X
noinst_HEADERS = \
X  gnc-ledger-display.h \
X  split-register.h \
X  split-register-control.h \
X  split-register-layout.h \
X  split-register-model.h \
X  split-register-model-save.h \
X  split-register-p.h
X
libgncmod_ledger_core_la_LDFLAGS = -avoid-version
X
libgncmod_ledger_core_la_LIBADD = \
X  ${top_builddir}/src/register/register-gnome/libgncmod-register-gnome.la \
X  ${top_builddir}/src/register/register-core/libgncmod-register-core.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLADE_LIBS} \
X  ${GCONF_LIBS} \
X  ${GUILE_LIBS} \
X  ${GTK_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/register/register-gnome \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GLIB_CFLAGS}
X
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.register.ledger\"
SHAR_EOF
  (set 20 10 03 26 15 09 17 'gnucash/src/register/ledger-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/ledger-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/ledger-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/ledger-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f17b3d2b12b1764b48d6aa8d0c1c5671  gnucash/src/register/ledger-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/ledger-core/Makefile.am'` -ne 1683 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/ledger-core/Makefile.am' is not 1683"
  fi
fi
# ============= gnucash/src/register/ledger-core/test/Makefile.am ==============
if test ! -d 'gnucash/src/register/ledger-core'; then
  mkdir 'gnucash/src/register/ledger-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/ledger-core."
else ${echo} "x - failed to create directory gnucash/src/register/ledger-core."
     exit 1
fi
fi
if test ! -d 'gnucash/src/register/ledger-core/test'; then
  mkdir 'gnucash/src/register/ledger-core/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/register/ledger-core/test."
else ${echo} "x - failed to create directory gnucash/src/register/ledger-core/test."
     exit 1
fi
fi
if test -f 'gnucash/src/register/ledger-core/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/register/ledger-core/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/register/ledger-core/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/register/ledger-core/test/Makefile.am' &&
TESTS =  test-link-module
X
check_PROGRAMS = test-link-module
X
test_link_module_SOURCES=test-link-module.c
test_link_module_LDADD=\
X	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X    ../libgncmod-ledger-core.la
X
AM_CPPFLAGS = -I${top_srcdir}/src/test-core -I.. ${GLIB_CFLAGS}
SHAR_EOF
  (set 20 10 03 26 15 09 17 'gnucash/src/register/ledger-core/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/register/ledger-core/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/register/ledger-core/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/register/ledger-core/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b3ae544eecd5da9aac646ed5b9d93859  gnucash/src/register/ledger-core/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/register/ledger-core/test/Makefile.am'` -ne 288 && \
  ${echo} "restoration warning:  size of 'gnucash/src/register/ledger-core/test/Makefile.am' is not 288"
  fi
fi
# ============= gnucash/src/import-export/csv/Makefile.am ==============
if test ! -d 'gnucash/src/import-export'; then
  mkdir 'gnucash/src/import-export'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export."
else ${echo} "x - failed to create directory gnucash/src/import-export."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/csv'; then
  mkdir 'gnucash/src/import-export/csv'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/csv."
else ${echo} "x - failed to create directory gnucash/src/import-export/csv."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/csv/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/csv/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/csv/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/csv/Makefile.am' &&
SUBDIRS = .
X
pkglib_LTLIBRARIES=libgncmod-csv.la
X
libgncmod_csv_la_SOURCES = \
X  gncmod-csv-import.c \
X  gnc-plugin-csv.c \
X  gnc-csv-import.c \
X  gnc-csv-model.c \
X  gnc-csv-gnumeric-popup.c
X
noinst_HEADERS = \
X  gnc-plugin-csv.h \
X  gnc-csv-import.h \
X  gnc-csv-model.h \
X  gnc-csv-gnumeric-popup.h
X
libgncmod_csv_la_LDFLAGS = -avoid-version
X
libgncmod_csv_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/lib/stf/libgnc-stf.la \
X  ${top_builddir}/lib/libc/libc-missing.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GOFFICE_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/lib \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  $(GOFFICE_CFLAGS)
X
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-csv-ui.xml
X
gladedir = ${GNC_GLADE_DIR}
glade_DATA = \
X	gnc-csv-preview-dialog.glade
X
EXTRA_DIST = $(ui_DATA) $(glade_DATA)
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.csv\"
SHAR_EOF
  (set 20 10 03 26 15 09 21 'gnucash/src/import-export/csv/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/csv/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/csv/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/csv/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
a4e8067a8bf82d780ebf6827795eb24b  gnucash/src/import-export/csv/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/csv/Makefile.am'` -ne 1569 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/csv/Makefile.am' is not 1569"
  fi
fi
# ============= gnucash/src/import-export/hbci/glade/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/hbci'; then
  mkdir 'gnucash/src/import-export/hbci'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/hbci."
else ${echo} "x - failed to create directory gnucash/src/import-export/hbci."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/hbci/glade'; then
  mkdir 'gnucash/src/import-export/hbci/glade'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/hbci/glade."
else ${echo} "x - failed to create directory gnucash/src/import-export/hbci/glade."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/hbci/glade/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/hbci/glade/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/hbci/glade/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/hbci/glade/Makefile.am' &&
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  hbci.glade \
X  hbcipass.glade \
X  hbciprefs.glade
X
EXTRA_DIST = $(glade_DATA)
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/import-export/hbci/glade/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/hbci/glade/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/hbci/glade/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/hbci/glade/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
9706c253ad6dec5feda3b67dca13c175  gnucash/src/import-export/hbci/glade/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/hbci/glade/Makefile.am'` -ne 123 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/hbci/glade/Makefile.am' is not 123"
  fi
fi
# ============= gnucash/src/import-export/hbci/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/hbci/schemas'; then
  mkdir 'gnucash/src/import-export/hbci/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/hbci/schemas."
else ${echo} "x - failed to create directory gnucash/src/import-export/hbci/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/hbci/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/hbci/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/hbci/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/hbci/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_dialog_hbci.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 21 'gnucash/src/import-export/hbci/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/hbci/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/hbci/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/hbci/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
99b7e6879292802917a0f4ad2d4d2d85  gnucash/src/import-export/hbci/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/hbci/schemas/Makefile.am'` -ne 608 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/hbci/schemas/Makefile.am' is not 608"
  fi
fi
# ============= gnucash/src/import-export/hbci/Makefile.am ==============
if test -f 'gnucash/src/import-export/hbci/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/hbci/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/hbci/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/hbci/Makefile.am' &&
SUBDIRS = . glade schemas test
X
pkglib_LTLIBRARIES = libgncmod-hbci.la
X
libgncmod_hbci_la_SOURCES = \
X  dialog-daterange.c \
X  dialog-hbcitrans.c \
X  dialog-pass.c \
X  gnc-file-aqb-import.c \
X  gnc-hbci-getbalance.c \
X  gnc-hbci-gettrans.c \
X  gnc-hbci-kvp.c \
X  gnc-hbci-trans-templ.c \
X  gnc-hbci-transfer.c \
X  gnc-hbci-utils.c \
X  gnc-plugin-hbci.c \
X  hbci-interaction.c \
X  druid-hbci-utils.c \
X  druid-hbci-initial.c \
X  gncmod-hbci.c
X
X
X
# Must be included in tarball because they are listed in POTFILES.in
libgncmod_hbci_la_empty = \
X  gnc-hbci-actions.c
X
noinst_HEADERS = \
X  dialog-daterange.h \
X  dialog-hbcitrans.h \
X  dialog-pass.h \
X  druid-hbci-initial.h \
X  druid-hbci-utils.h \
X  gnc-file-aqb-import.h \
X  gnc-hbci-getbalance.h \
X  gnc-hbci-gettrans.h \
X  gnc-hbci-kvp.h \
X  gnc-hbci-transfer.h \
X  gnc-hbci-trans-templ.h \
X  gnc-hbci-utils.h \
X  gnc-plugin-hbci.h \
X  hbci-interaction.h \
X  hbci-interactionP.h
X
libgncmod_hbci_la_LDFLAGS = -avoid-version
X
libgncmod_hbci_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome/libgnc-gnome.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${GLIB_LIBS} \
X  ${AQBANKING_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/register \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/register/register-gnome \
X  -I${top_srcdir}/src/register/ledger-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${AQBANKING_CFLAGS}
X
#gladedir = $(GNC_GLADE_DIR)
#glade_DATA = 
X
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-hbci-ui.xml
X
EXTRA_DIST = ${gncscm_DATA} ${libgncmod_hbci_la_empty} ${ui_DATA}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.hbci\"
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/import-export/hbci/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/hbci/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/hbci/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/hbci/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
5a7ae8e7160971e6374246cbb3c8eca5  gnucash/src/import-export/hbci/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/hbci/Makefile.am'` -ne 2319 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/hbci/Makefile.am' is not 2319"
  fi
fi
# ============= gnucash/src/import-export/hbci/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/hbci/test'; then
  mkdir 'gnucash/src/import-export/hbci/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/hbci/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/hbci/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/hbci/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/hbci/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/hbci/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/hbci/test/Makefile.am' &&
TESTS=test-link-module
X
check_PROGRAMS=test-link-module
X
test_link_module_SOURCES=test-link-module.c
test_link_module_LDADD=../libgncmod-hbci.la 
X
SHAR_EOF
  (set 20 10 03 26 15 09 22 'gnucash/src/import-export/hbci/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/hbci/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/hbci/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/hbci/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
0946548fc34190071ab39f7428af563a  gnucash/src/import-export/hbci/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/hbci/test/Makefile.am'` -ne 147 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/hbci/test/Makefile.am' is not 147"
  fi
fi
# ============= gnucash/src/import-export/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/schemas'; then
  mkdir 'gnucash/src/import-export/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/schemas."
else ${echo} "x - failed to create directory gnucash/src/import-export/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_import_generic_matcher.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/import-export/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
066047df5867b9799f2840aa034a7c9e  gnucash/src/import-export/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/schemas/Makefile.am'` -ne 619 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/schemas/Makefile.am' is not 619"
  fi
fi
# ============= gnucash/src/import-export/aqbanking/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/aqbanking'; then
  mkdir 'gnucash/src/import-export/aqbanking'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/aqbanking."
else ${echo} "x - failed to create directory gnucash/src/import-export/aqbanking."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/aqbanking/schemas'; then
  mkdir 'gnucash/src/import-export/aqbanking/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/aqbanking/schemas."
else ${echo} "x - failed to create directory gnucash/src/import-export/aqbanking/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/aqbanking/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/aqbanking/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/aqbanking/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/aqbanking/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_dialog_hbci.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 20 'gnucash/src/import-export/aqbanking/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/aqbanking/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/aqbanking/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/aqbanking/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
99b7e6879292802917a0f4ad2d4d2d85  gnucash/src/import-export/aqbanking/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/aqbanking/schemas/Makefile.am'` -ne 608 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/aqbanking/schemas/Makefile.am' is not 608"
  fi
fi
# ============= gnucash/src/import-export/aqbanking/Makefile.am ==============
if test -f 'gnucash/src/import-export/aqbanking/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/aqbanking/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/aqbanking/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/aqbanking/Makefile.am' &&
SUBDIRS = . schemas
X
pkglib_LTLIBRARIES = libgncmod-aqbanking.la
X
libgncmod_aqbanking_la_SOURCES = \
X  dialog-ab-trans.c \
X  dialog-daterange.c \
X  druid-ab-initial.c \
X  gnc-ab-getbalance.c \
X  gnc-ab-gettrans.c \
X  gnc-ab-kvp.c \
X  gnc-ab-trans-templ.c \
X  gnc-ab-transfer.c \
X  gnc-ab-utils.c \
X  gnc-file-aqb-import.c \
X  gnc-gwen-gui.c \
X  gnc-plugin-aqbanking.c \
X  gncmod-aqbanking.c
X
noinst_HEADERS = \
X  dialog-ab-trans.h \
X  dialog-daterange.h \
X  druid-ab-initial.h \
X  gnc-ab-getbalance.h \
X  gnc-ab-gettrans.h \
X  gnc-ab-kvp.h \
X  gnc-ab-trans-templ.h \
X  gnc-ab-transfer.h \
X  gnc-ab-utils.h \
X  gnc-file-aqb-import.h \
X  gnc-gwen-gui.h \
X  gnc-plugin-aqbanking.h
X
libgncmod_aqbanking_la_LDFLAGS = -avoid-version
X
libgncmod_aqbanking_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome/libgnc-gnome.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${GLIB_LIBS} \
X  ${GWENGUI_GTK2_LIBS} \
X  ${AQBANKING_LIBS}
X
AM_CFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/register/ledger-core \
X  -I${top_srcdir}/src/register/register-gnome \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${AQBANKING_CFLAGS}
X
uidir = $(GNC_UI_DIR)
ui_DATA = \
X  gnc-plugin-aqbanking-ui.xml
X
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  aqbanking.glade
X
EXTRA_DIST = ${ui_DATA} ${glade_DATA}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.aqbanking\"
SHAR_EOF
  (set 20 10 09 05 19 37 27 'gnucash/src/import-export/aqbanking/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/aqbanking/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/aqbanking/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/aqbanking/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ed78b42545af8e8791013edab65a744c  gnucash/src/import-export/aqbanking/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/aqbanking/Makefile.am'` -ne 2050 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/aqbanking/Makefile.am' is not 2050"
  fi
fi
# ============= gnucash/src/import-export/log-replay/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/log-replay'; then
  mkdir 'gnucash/src/import-export/log-replay'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/log-replay."
else ${echo} "x - failed to create directory gnucash/src/import-export/log-replay."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/log-replay/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/log-replay/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/log-replay/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/log-replay/Makefile.am' &&
SUBDIRS = .
X
pkglib_LTLIBRARIES=libgncmod-log-replay.la
X
libgncmod_log_replay_la_SOURCES = \
X  gnc-log-replay.c \
X  gnc-plugin-log-replay.c \
X  gncmod-log-replay.c
X
noinst_HEADERS = \
X  gnc-log-replay.h \
X  gnc-plugin-log-replay.h
X
libgncmod_log_replay_la_LDFLAGS = -avoid-version
X
libgncmod_log_replay_la_LIBADD = \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GTK_LIBS} \
X  ${GLIB_LIBS} \
X  ${QOF_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
uidir = $(GNC_UI_DIR)
dist_ui_DATA = \
X	gnc-plugin-log-replay-ui.xml
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.log-replay\"
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/import-export/log-replay/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/log-replay/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/log-replay/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/log-replay/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
31c12b4d9a73845301a2fd5a656886a1  gnucash/src/import-export/log-replay/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/log-replay/Makefile.am'` -ne 1203 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/log-replay/Makefile.am' is not 1203"
  fi
fi
# ============= gnucash/src/import-export/ofx/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/ofx'; then
  mkdir 'gnucash/src/import-export/ofx'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/ofx."
else ${echo} "x - failed to create directory gnucash/src/import-export/ofx."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/ofx/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/ofx/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/ofx/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/ofx/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES=libgncmod-ofx.la
X
libgncmod_ofx_la_SOURCES = \
X  gnc-ofx-import.c \
X  gncmod-ofx-import.c \
X  gnc-plugin-ofx.c
X
noinst_HEADERS = \
X  gnc-ofx-import.h \
X  gnc-plugin-ofx.h
X
libgncmod_ofx_la_LDFLAGS = -avoid-version
X
libgncmod_ofx_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS} \
X  ${LIBOFX_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${LIBOFX_CFLAGS} 
X
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-ofx-ui.xml
X
EXTRA_DIST = $(ui_DATA)
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.ofx\"
SHAR_EOF
  (set 20 10 03 26 15 09 20 'gnucash/src/import-export/ofx/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/ofx/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/ofx/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/ofx/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f0ed1d6664c048dfc68a40cee8946d87  gnucash/src/import-export/ofx/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/ofx/Makefile.am'` -ne 1247 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/ofx/Makefile.am' is not 1247"
  fi
fi
# ============= gnucash/src/import-export/ofx/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/ofx'; then
  mkdir 'gnucash/src/import-export/ofx'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/ofx."
else ${echo} "x - failed to create directory gnucash/src/import-export/ofx."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/ofx/test'; then
  mkdir 'gnucash/src/import-export/ofx/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/ofx/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/ofx/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/ofx/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/ofx/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/ofx/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/ofx/test/Makefile.am' &&
TESTS=test-link
X
AM_CPPFLAGS=${LIBOFX_CFLAGS}
check_PROGRAMS=test-link
X
test_link_SOURCES=test-link.c
test_link_LDADD=\
X	${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X    ../libgncmod-ofx.la 
SHAR_EOF
  (set 20 10 03 26 15 09 20 'gnucash/src/import-export/ofx/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/ofx/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/ofx/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/ofx/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
eea05871164ba411d88cf418253796ae  gnucash/src/import-export/ofx/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/ofx/test/Makefile.am'` -ne 205 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/ofx/test/Makefile.am' is not 205"
  fi
fi
# ============= gnucash/src/import-export/Makefile.am ==============
if test -f 'gnucash/src/import-export/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/Makefile.am' &&
SUBDIRS = . schemas qif qif-import \
X	${OFX_DIR} ${AQBANKING_DIR} log-replay test csv
DIST_SUBDIRS = schemas qif qif-import qif-io-core \
X	ofx aqbanking hbci log-replay test csv
X
pkglib_LTLIBRARIES=libgncmod-generic-import.la
X
libgncmod_generic_import_la_SOURCES = \
X	import-account-matcher.c \
X	import-commodity-matcher.c \
X	import-backend.c \
X	import-format-dialog.c \
X	import-match-picker.c \
X	import-parse.c \
X	import-utilities.c \
X	import-settings.c \
X	import-match-map.c \
X	import-main-matcher.c \
X	gnc-import-desc-format.c \
X	gnc-import-format-cb.c \
X	gnc-import-format-gnome.c \
X	gncmod-generic-import.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  import-match-map.h \
X  gnc-import-desc-format.h \
X  gnc-import-format-cb.h \
X  import-parse.h
X
noinst_HEADERS = \
X  import-account-matcher.h \
X  import-backend.h \
X  import-commodity-matcher.h \
X  import-main-matcher.h \
X  import-match-map.h \
X  import-match-picker.h \
X  import-settings.h \
X  import-utilities.h \
X  gnc-import-format-gnome.h
X
libgncmod_generic_import_la_LDFLAGS = -avoid-version
X
libgncmod_generic_import_la_LIBADD = \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${REGEX_LIBS} \
X  ${GLIB_LIBS}
X
gladedir = ${GNC_GLADE_DIR}
glade_DATA = \
X  generic-import.glade \
X  import-provider-format.glade
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
EXTRA_DIST = \
X  $(glade_DATA) \
X  generic-import-design.txt
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.i-e\"
SHAR_EOF
  (set 20 10 03 26 15 09 23 'gnucash/src/import-export/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
6b5ab4eaad1fbfd11b7e8f4a28265f80  gnucash/src/import-export/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/Makefile.am'` -ne 2058 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/Makefile.am' is not 2058"
  fi
fi
# ============= gnucash/src/import-export/qif-import/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif-import'; then
  mkdir 'gnucash/src/import-export/qif-import'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-import."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-import."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/qif-import/schemas'; then
  mkdir 'gnucash/src/import-export/qif-import/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-import/schemas."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-import/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif-import/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif-import/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif-import/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif-import/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_import_qif.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/import-export/qif-import/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif-import/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif-import/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif-import/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
314fd6889441764d34bd5a0f71977caa  gnucash/src/import-export/qif-import/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif-import/schemas/Makefile.am'` -ne 607 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif-import/schemas/Makefile.am' is not 607"
  fi
fi
# ============= gnucash/src/import-export/qif-import/Makefile.am ==============
if test -f 'gnucash/src/import-export/qif-import/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif-import/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif-import/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif-import/Makefile.am' &&
SUBDIRS = . test schemas
X
pkglib_LTLIBRARIES=libgncmod-qif-import.la
X
libgncmod_qif_import_la_SOURCES = \
X  dialog-account-picker.c \
X  druid-qif-import.c \
X  gnc-plugin-qif-import.c \
X  gnc-druid-test.c \
X  gncmod-qif-import.c
X
noinst_HEADERS = \
X  dialog-account-picker.h \
X  druid-qif-import.h \
X  gnc-druid-test.h \
X  gnc-plugin-qif-import.h
X
libgncmod_qif_import_la_LDFLAGS = -avoid-version
X
libgncmod_qif_import_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome/libgnc-gnome.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLADE_LIBS} \
X  ${GLIB_LIBS}
X
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export
gncscmmod_DATA = qif-import.scm 
X
gncscmdir = ${GNC_SCM_INSTALL_DIR}/qif-import
X
gncscm_DATA = \
X  qif-dialog-utils.scm \
X  qif-file.scm \
X  qif-guess-map.scm \
X  qif-import.scm \
X  qif-merge-groups.scm \
X  qif-objects.scm \
X  qif-parse.scm \
X  qif-to-gnc.scm \
X  qif-utils.scm
X
gladedir = ${GNC_GLADE_DIR}
glade_DATA = qif.glade
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} 
X
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-qif-import-ui.xml
X
EXTRA_DIST = \
X  ${gncscm_DATA} \
X  ${glade_DATA} \
X  file-format.txt \
X  $(ui_DATA)
X
CLEANFILES =
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = \
X  ${gncscm_DATA}
endif
X
noinst_DATA = .scm-links
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash qif-import
X	mkdir -p  gnucash/import-export
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
X	( cd qif-import; for A in $(gncscm_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash qif-import
X
CLEANFILES += .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.qif.import\"
SHAR_EOF
  (set 20 10 03 26 15 09 20 'gnucash/src/import-export/qif-import/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif-import/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif-import/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif-import/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
a34f6fc2b1c8e70c64383f7b49d041ec  gnucash/src/import-export/qif-import/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif-import/Makefile.am'` -ne 2671 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif-import/Makefile.am' is not 2671"
  fi
fi
# ============= gnucash/src/import-export/qif-import/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif-import/test'; then
  mkdir 'gnucash/src/import-export/qif-import/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-import/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-import/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif-import/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif-import/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif-import/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif-import/test/Makefile.am' &&
TESTS=test-link
X
check_PROGRAMS=test-link
X
test_link_SOURCES = \
X  test-link.c
X
test_link_LDADD=../libgncmod-qif-import.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnome/libgnc-gnome.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${LIBXML2_LIBS}
X
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/import-export/qif-import/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif-import/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif-import/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif-import/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
88450b963c5452e79f9526e8013efe31  gnucash/src/import-export/qif-import/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif-import/test/Makefile.am'` -ne 464 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif-import/test/Makefile.am' is not 464"
  fi
fi
# ============= gnucash/src/import-export/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/test'; then
  mkdir 'gnucash/src/import-export/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/test/Makefile.am' &&
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
LDADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/test-core/libtest-core.la \
X  ../libgncmod-generic-import.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
TESTS = \
X  test-link \
X  test-import-parse
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/import-export \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/xml \
X  --library-dir    ${top_builddir}/src/app-utils \
X  --library-dir    ${top_builddir}/src/gnome-utils \
X  --library-dir    ${top_builddir}/src/import-export
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link \
X  test-import-parse
SHAR_EOF
  (set 20 10 04 11 02 22 17 'gnucash/src/import-export/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
65a3a508e944ada64dbb23549a36199d  gnucash/src/import-export/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/test/Makefile.am'` -ne 1380 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/test/Makefile.am' is not 1380"
  fi
fi
# ============= gnucash/src/import-export/qif-io-core/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif-io-core'; then
  mkdir 'gnucash/src/import-export/qif-io-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-io-core."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-io-core."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif-io-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif-io-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif-io-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif-io-core/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-qifiocore.la
X
AM_CPPFLAGS = -I${top_srcdir}/src/gnc-module ${GUILE_INCS} ${GLIB_CFLAGS}
X
libgncmod_qifiocore_la_SOURCES = gncmod-qifiocore.c
X
noinst_DATA = .scm-links
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = \
X	qif-acct-table.scm \
X	qif-bank-xtn-import.scm \
X	qif-file.scm \
X	qif-format-check.scm \
X	qif-invst-xtn-import.scm \
X	qif-objects.scm \
X	qif-parse.scm \
X	qif-record-xform.scm 
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = \
X  ${gncscm_DATA}
endif
X
X.scm-links:
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
X	mkdir -p  gnucash/import-export
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash/import-export; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/import-export/
gncscmmod_DATA = qif-io-core.scm
X
clean-local:
X	$(RM) -rf qif-import
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.qif.core\"
SHAR_EOF
  (set 20 10 03 26 15 09 21 'gnucash/src/import-export/qif-io-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif-io-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif-io-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif-io-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
a82ee7049fff86f2ba160a48590c0f6f  gnucash/src/import-export/qif-io-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif-io-core/Makefile.am'` -ne 1169 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif-io-core/Makefile.am' is not 1169"
  fi
fi
# ============= gnucash/src/import-export/qif-io-core/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif-io-core'; then
  mkdir 'gnucash/src/import-export/qif-io-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-io-core."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-io-core."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/qif-io-core/test'; then
  mkdir 'gnucash/src/import-export/qif-io-core/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif-io-core/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif-io-core/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif-io-core/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif-io-core/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif-io-core/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif-io-core/test/Makefile.am' &&
LDADD=${top_builddir}/src/gnc-module/libgnc-module.la ${GLIB_LIBS}
X
AM_CPPFLAGS = -I${top_srcdir}/src/gnc-module ${GUILE_INCS} ${GLIB_CFLAGS}
X
TESTS=test-load-module test-parser test-reader test-file-formats \
test-import-phase-1
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/gnc-module \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/app-utils \
X  --gnc-module-dir ${top_builddir}/src/backend/xml \
X  --gnc-module-dir ${top_builddir}/src/import-export/qif-io-core \
X  --guile-load-dir ${top_srcdir}/src/import-export/qif-io-core/test \
X  --guile-load-dir ${top_srcdir}/lib \
X  --guile-load-dir ${top_builddir}/src/gnome-utils \
X  --guile-load-dir ${top_builddir}/src/gnome \
X  --guile-load-dir ${top_builddir}/src/scm \
X  --library-dir    ${top_builddir}/src/gnome-utils \
X  --library-dir    ${top_srcdir}/src/gnome
X
TESTS_ENVIRONMENT = \
X  SRCDIR=${srcdir} \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
print_test_env:
X	echo ${GNC_TEST_DEPS}
X	echo ${TESTS_ENVIRONMENT}
SHAR_EOF
  (set 20 10 03 26 15 09 20 'gnucash/src/import-export/qif-io-core/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif-io-core/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif-io-core/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif-io-core/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ed3c3a11df5fdd08de1e82aed8e7e12a  gnucash/src/import-export/qif-io-core/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif-io-core/test/Makefile.am'` -ne 1053 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif-io-core/test/Makefile.am' is not 1053"
  fi
fi
# ============= gnucash/src/import-export/qif/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif'; then
  mkdir 'gnucash/src/import-export/qif'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif/Makefile.am' &&
#SUBDIRS = . test
DIST_SUBDIRS = test
X
pkglib_LTLIBRARIES=libgncmod-qif.la
X
libgncmod_qif_la_SOURCES = \
X  qif-context.c \
X  qif-defaults.c \
X  qif-file.c \
X  qif-objects.c \
X  qif-parse.c
X
noinst_HEADERS = \
X  qif-file.h \
X  qif-defaults.h \
X  qif-import-p.h \
X  qif-import.h \
X  qif-objects.h \
X  qif-objects-p.h \
X  qif-parse.h
X
libgncmod_qif_la_LIBADD = \
X  ${top_builddir}/src/import-export/libgncmod-generic-import.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${REGEX_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.import.qif\"
SHAR_EOF
  (set 20 10 03 26 15 09 21 'gnucash/src/import-export/qif/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
c7def29491d8a094d8528420a3171399  gnucash/src/import-export/qif/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif/Makefile.am'` -ne 854 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif/Makefile.am' is not 854"
  fi
fi
# ============= gnucash/src/import-export/qif/test/Makefile.am ==============
if test ! -d 'gnucash/src/import-export/qif'; then
  mkdir 'gnucash/src/import-export/qif'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif."
     exit 1
fi
fi
if test ! -d 'gnucash/src/import-export/qif/test'; then
  mkdir 'gnucash/src/import-export/qif/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/import-export/qif/test."
else ${echo} "x - failed to create directory gnucash/src/import-export/qif/test."
     exit 1
fi
fi
if test -f 'gnucash/src/import-export/qif/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/import-export/qif/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/import-export/qif/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/import-export/qif/test/Makefile.am' &&
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/import-export \
X  -I${top_srcdir}/src/import-export/qif \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
LDADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/test-core/libtest-core.la \
X  ../../libgncmod-generic-import.la \
X  ../libgncmod-qif.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
TESTS = \
X  test-link \
X  test-qif
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/core-utils \
X  --gnc-module-dir ${top_builddir}/src/gnc-module \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/app-utils \
X  --gnc-module-dir ${top_builddir}/src/import-export \
X  --gnc-module-dir ${top_builddir}/src/import-export/qif \
X  --gnc-module-dir ${top_builddir}/src/gnome-utils \
X  --gnc-module-dir ${top_srcdir}/src/gnc-module \
X  --gnc-module-dir ${top_srcdir}/src/engine \
X  --gnc-module-dir ${top_srcdir}/src/app-utils \
X  --gnc-module-dir ${top_srcdir}/src/gnome-utils \
X  --gnc-module-dir ${top_builddir}/src/gnome-utils \
X  --gnc-module-dir ${top_builddir}/src/gnome \
X  --guile-load-dir ${top_srcdir}/src/scm \
X  --guile-load-dir ${top_srcdir}/src/import-export \
X  --guile-load-dir ${top_srcdir}/src/import-export/qif
X
TESTS_ENVIRONMENT = \
X  GNC_TEST_FILES=${srcdir}/test-files \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link \
X  test-qif
X
EXTRA_DIST = \
X  test-files/test-1-bank-txn.qif
SHAR_EOF
  (set 20 10 04 11 02 22 17 'gnucash/src/import-export/qif/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/import-export/qif/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/import-export/qif/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/import-export/qif/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
568e20d19359c39fd8f7b4e035760ae6  gnucash/src/import-export/qif/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/import-export/qif/test/Makefile.am'` -ne 1660 && \
  ${echo} "restoration warning:  size of 'gnucash/src/import-export/qif/test/Makefile.am' is not 1660"
  fi
fi
# ============= gnucash/src/scm/gnumeric/Makefile.am ==============
if test ! -d 'gnucash/src/scm'; then
  mkdir 'gnucash/src/scm'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/scm."
else ${echo} "x - failed to create directory gnucash/src/scm."
     exit 1
fi
fi
if test ! -d 'gnucash/src/scm/gnumeric'; then
  mkdir 'gnucash/src/scm/gnumeric'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/scm/gnumeric."
else ${echo} "x - failed to create directory gnucash/src/scm/gnumeric."
     exit 1
fi
fi
if test -f 'gnucash/src/scm/gnumeric/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/scm/gnumeric/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/scm/gnumeric/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/scm/gnumeric/Makefile.am' &&
gncscmdir = ${GNC_SCM_INSTALL_DIR}/gnumeric
gncscm_DATA = \
X  gnumeric-utilities.scm \
X  table-utils.scm
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = \
X  ${gncscm_DATA}
endif
X
X.scm-links:
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
X
EXTRA_DIST = \
X  ${gncscm_DATA}
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
SHAR_EOF
  (set 20 10 03 26 15 09 30 'gnucash/src/scm/gnumeric/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/scm/gnumeric/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/scm/gnumeric/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/scm/gnumeric/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
a42eae246bc602dd4ac9ee6656127999  gnucash/src/scm/gnumeric/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/scm/gnumeric/Makefile.am'` -ne 539 && \
  ${echo} "restoration warning:  size of 'gnucash/src/scm/gnumeric/Makefile.am' is not 539"
  fi
fi
# ============= gnucash/src/scm/Makefile.am ==============
if test -f 'gnucash/src/scm/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/scm/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/scm/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/scm/Makefile.am' &&
X
SUBDIRS = gnumeric
X
gncscmdir = ${GNC_SCM_INSTALL_DIR}
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
X
gncscmmod_DATA = main.scm price-quotes.scm printf.scm
X
gnc_regular_scm_files = \
X  string.scm \
X  command-line.scm \
X  doc.scm \
X  fin.scm \
X  main-window.scm \
X  substring-search.scm \
X  xml-generator.scm
X
gncscm_DATA = \
X  build-config.scm \
X  ${gnc_regular_scm_files}
X
noinst_DATA = .scm-links
X
configdir = ${GNC_CONFIGDIR}
config_DATA = config
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = \
X  ${gncscmmod_DATA} \
X  ${gnc_regular_scm_files}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncscmmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
SCM_FILES = ${gncscm_DATA} ${gncscmmod_DATA}
X
EXTRA_DIST = \
X  build-config.scm.in \
X  config \
X  startup-design.txt \
X  ${SCM_FILES}
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.  *sigh*
build-config.scm: ${srcdir}/build-config.scm.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's#@-VERSION-@#${VERSION}#' \
X            -e 's#@-GNC_HELPDIR-@#${GNC_HELPDIR}#'
X	mv $@.tmp $@
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = build-config.scm
SHAR_EOF
  (set 20 10 04 24 19 08 02 'gnucash/src/scm/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/scm/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/scm/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/scm/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
91189d936f201705546a4c1498326425  gnucash/src/scm/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/scm/Makefile.am'` -ne 1632 && \
  ${echo} "restoration warning:  size of 'gnucash/src/scm/Makefile.am' is not 1632"
  fi
fi
# ============= gnucash/src/Makefile.am ==============
if test -f 'gnucash/src/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/Makefile.am' &&
NONGUI_SUBDIRS = \
X  libqof \
X  debug \
X  doc \
X  pixmaps \
X  test-core \
X  core-utils \
X  gnc-module \
X  engine \
X  backend \
X  scm \
X  quotes
X
GUI_SUBDIRS_1 = \
X  calculation \
X  tax \
X  app-utils \
X  gnome-utils \
X  html \
X  gnome-search
X
GUI_SUBDIRS_2 = \
X  register \
X  gnome \
X  import-export \
X  business \
X  optional \
X  bin
X
DIST_SUBDIRS = $(NONGUI_SUBDIRS) $(GUI_SUBDIRS_1) report $(GUI_SUBDIRS_2)
X
if GNUCASH_ENABLE_GUI
SUBDIRS = . $(DIST_SUBDIRS)
else 
SUBDIRS = . $(NONGUI_SUBDIRS) report
endif
X
noinst_HEADERS = \
X  RecnWindow.h \
X  swig-runtime.h \
X  gnc-ui.h
X
bin_SCRIPTS = gnc-test-env
X
if BUILDING_FROM_SVN
swig-runtime.h:
X	$(SWIG) -guile -external-runtime $@
endif
MAINTAINERCLEANFILES = swig-runtime.h
X
EXTRA_DIST = \
X  base-typemaps.i \
X  README.modules \
X  gnc-test-env \
X  guile-mappings.h \
X  platform.h
SHAR_EOF
  (set 20 10 04 17 21 21 25 'gnucash/src/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
ecebf28dae13d6183a77b66702773f71  gnucash/src/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/Makefile.am'` -ne 828 && \
  ${echo} "restoration warning:  size of 'gnucash/src/Makefile.am' is not 828"
  fi
fi
# ============= gnucash/src/calculation/Makefile.am ==============
if test ! -d 'gnucash/src/calculation'; then
  mkdir 'gnucash/src/calculation'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/calculation."
else ${echo} "x - failed to create directory gnucash/src/calculation."
     exit 1
fi
fi
if test -f 'gnucash/src/calculation/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/calculation/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/calculation/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/calculation/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-calculation.la
X
libgncmod_calculation_la_LDFLAGS = -avoid-version
X
libgncmod_calculation_la_LIBADD = \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS} \
X  ${GUILE_LIBS}
X
libgncmod_calculation_la_SOURCES = \
X  expression_parser.c \
X  fin.c \
X  gncmod-calculation.c
X
noinst_HEADERS = \
X  finvar.h \
X  finproto.h \
X  fin_spl_protos.h \
X  fin_static_proto.h
X
EXTRA_DIST = \
X  README \
X  amort_opt.c \
X  amort_prt.c \
X  fin-interactive.c \
X  fin-main.c \
X  numeric_ops.c \
X  numeric_ops.h
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
SHAR_EOF
  (set 20 10 03 26 15 09 37 'gnucash/src/calculation/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/calculation/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/calculation/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/calculation/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
1b4cf4c69a7c801b0506206fe8da9605  gnucash/src/calculation/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/calculation/Makefile.am'` -ne 724 && \
  ${echo} "restoration warning:  size of 'gnucash/src/calculation/Makefile.am' is not 724"
  fi
fi
# ============= gnucash/src/calculation/test/Makefile.am ==============
if test ! -d 'gnucash/src/calculation'; then
  mkdir 'gnucash/src/calculation'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/calculation."
else ${echo} "x - failed to create directory gnucash/src/calculation."
     exit 1
fi
fi
if test ! -d 'gnucash/src/calculation/test'; then
  mkdir 'gnucash/src/calculation/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/calculation/test."
else ${echo} "x - failed to create directory gnucash/src/calculation/test."
     exit 1
fi
fi
if test -f 'gnucash/src/calculation/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/calculation/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/calculation/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/calculation/test/Makefile.am' &&
TESTS=test-link
X
check_PROGRAMS=test-link
X
test_link_SOURCES=test-link.c
test_link_LDADD= \
X  ../libgncmod-calculation.la \
X  ${GLIB_LIBS} \
X  -lgmodule-2.0
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/calculation/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/calculation/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/calculation/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/calculation/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b5c50beb24f3faed91828331269d99ba  gnucash/src/calculation/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/calculation/test/Makefile.am'` -ne 157 && \
  ${echo} "restoration warning:  size of 'gnucash/src/calculation/test/Makefile.am' is not 157"
  fi
fi
# ============= gnucash/src/debug/valgrind/Makefile.am ==============
if test ! -d 'gnucash/src/debug'; then
  mkdir 'gnucash/src/debug'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/debug."
else ${echo} "x - failed to create directory gnucash/src/debug."
     exit 1
fi
fi
if test ! -d 'gnucash/src/debug/valgrind'; then
  mkdir 'gnucash/src/debug/valgrind'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/debug/valgrind."
else ${echo} "x - failed to create directory gnucash/src/debug/valgrind."
     exit 1
fi
fi
if test -f 'gnucash/src/debug/valgrind/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/debug/valgrind/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/debug/valgrind/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/debug/valgrind/Makefile.am' &&
X
EXTRA_DIST = \
X  valgrind-gdk.supp \
X  valgrind-glib.supp \
X  valgrind-gnucash.supp \
X  valgrind-libfontconfig.supp \
X  valgrind-libgda.supp \
X  valgrind-libguile.supp \
X  valgrind-x11.supp
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/debug/valgrind/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/debug/valgrind/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/debug/valgrind/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/debug/valgrind/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
bd2f5443e563d8b336b9d3f769f01501  gnucash/src/debug/valgrind/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/debug/valgrind/Makefile.am'` -ne 190 && \
  ${echo} "restoration warning:  size of 'gnucash/src/debug/valgrind/Makefile.am' is not 190"
  fi
fi
# ============= gnucash/src/debug/Makefile.am ==============
if test -f 'gnucash/src/debug/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/debug/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/debug/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/debug/Makefile.am' &&
X
SUBDIRS = \
X  valgrind
SHAR_EOF
  (set 20 10 03 26 15 09 19 'gnucash/src/debug/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/debug/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/debug/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/debug/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
36153cfdadc97fc108f85bf6ae2a89d5  gnucash/src/debug/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/debug/Makefile.am'` -ne 23 && \
  ${echo} "restoration warning:  size of 'gnucash/src/debug/Makefile.am' is not 23"
  fi
fi
# ============= gnucash/src/business/business-core/Makefile.am ==============
if test ! -d 'gnucash/src/business'; then
  mkdir 'gnucash/src/business'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business."
else ${echo} "x - failed to create directory gnucash/src/business."
     exit 1
fi
fi
if test ! -d 'gnucash/src/business/business-core'; then
  mkdir 'gnucash/src/business/business-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-core."
else ${echo} "x - failed to create directory gnucash/src/business/business-core."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-core/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-core/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-core/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-core/Makefile.am' &&
SUBDIRS = . test
X
pkglib_LTLIBRARIES = libgncmod-business-core.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
libgncmod_business_core_la_SOURCES = \
X  gncmod-business-core.c
X
noinst_HEADERS =
X
libgncmod_business_core_la_LDFLAGS = -avoid-version
X
libgncmod_business_core_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${EFENCE_LIBS}
X
# business-core-helpers.c
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = business-core.scm
X
EXTRA_DIST = ${gncmod_DATA}
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
CLEANFILES = gnucash .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES =
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.core\"
SHAR_EOF
  (set 20 10 07 31 17 42 47 'gnucash/src/business/business-core/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-core/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-core/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-core/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e89111d9ad2842e31f69bd5ac8bb26ef  gnucash/src/business/business-core/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-core/Makefile.am'` -ne 1384 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-core/Makefile.am' is not 1384"
  fi
fi
# ============= gnucash/src/business/business-core/test/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-core'; then
  mkdir 'gnucash/src/business/business-core'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-core."
else ${echo} "x - failed to create directory gnucash/src/business/business-core."
     exit 1
fi
fi
if test ! -d 'gnucash/src/business/business-core/test'; then
  mkdir 'gnucash/src/business/business-core/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-core/test."
else ${echo} "x - failed to create directory gnucash/src/business/business-core/test."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-core/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-core/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-core/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-core/test/Makefile.am' &&
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/business/business-core \
X  -I${top_srcdir}/src/libqof/qof \
X  -I${top_srcdir}/src/backend/xml \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS}
X
LDADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/test-core/libtest-core.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ../libgncmod-business-core.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLIB_LIBS}
X
TESTS = \
X  test-load-module \
X  test-business \
X  test-address \
X  test-customer \
X  test-employee \
X  test-job \
X  test-vendor
X
GNC_TEST_DEPS = \
X  --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/business/business-core \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --guile-load-dir ${top_builddir}/src/business/business-core \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/business/business-core \
X  --library-dir    ${top_builddir}/src/backend/xml
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-load-module \
X  test-business \
X  test-address \
X  test-customer \
X  test-employee \
X  test-job \
X  test-vendor
X
EXTRA_DIST = 
SHAR_EOF
  (set 20 10 10 24 16 34 09 'gnucash/src/business/business-core/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-core/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-core/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-core/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
26d7f837b10d44ca699ee9c8039e9c27  gnucash/src/business/business-core/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-core/test/Makefile.am'` -ne 1549 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-core/test/Makefile.am' is not 1549"
  fi
fi
# ============= gnucash/src/business/business-utils/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-utils'; then
  mkdir 'gnucash/src/business/business-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-utils."
else ${echo} "x - failed to create directory gnucash/src/business/business-utils."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-utils/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-utils/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-utils/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-utils/Makefile.am' &&
pkglib_LTLIBRARIES = libgncmod-business-utils.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/business/business-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLIB_CFLAGS} \
X  ${GNOME_CFLAGS}
X
libgncmod_business_utils_la_SOURCES = \
X  gncmod-business-utils.c \
X  business-options.c
X
noinst_HEADERS = \
X  business-options.h
X
libgncmod_business_utils_la_LDFLAGS = -avoid-version
X
libgncmod_business_utils_la_LIBADD = \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${EFENCE_LIBS}
X
# Guile Modules
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = business-utils.scm
X
# For regular scheme definitions
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = \
X  business-options.scm \
X  business-prefs.scm
X
EXTRA_DIST = \
X  ${gncscm_DATA} \
X  ${gncmod_DATA}
X
noinst_DATA = .scm-links
X
if GNUCASH_SEPARATE_BUILDDIR
SCM_FILE_LINKS = business-utils.scm \
X  ${gncscm_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
clean-local:
X	$(RM) -rf gnucash
X
CLEANFILES = .scm-links
DISTCLEANFILES = ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.utils\"
SHAR_EOF
  (set 20 10 03 26 15 09 34 'gnucash/src/business/business-utils/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-utils/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-utils/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-utils/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
94fa052c6b83b029c5b76081c65fd38a  gnucash/src/business/business-utils/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-utils/Makefile.am'` -ne 1683 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-utils/Makefile.am' is not 1683"
  fi
fi
# ============= gnucash/src/business/business-ledger/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-ledger'; then
  mkdir 'gnucash/src/business/business-ledger'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-ledger."
else ${echo} "x - failed to create directory gnucash/src/business/business-ledger."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-ledger/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-ledger/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-ledger/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-ledger/Makefile.am' &&
SUBDIRS = .
X
lib_LTLIBRARIES = libgnc-business-ledger.la
X
libgnc_business_ledger_la_SOURCES = \
X  gncEntryLedger.c \
X  gncEntryLedgerControl.c \
X  gncEntryLedgerDisplay.c \
X  gncEntryLedgerLayout.c \
X  gncEntryLedgerLoad.c \
X  gncEntryLedgerModel.c
X
noinst_HEADERS = \
X  gncEntryLedger.h \
X  gncEntryLedgerP.h \
X  gncEntryLedgerControl.h \
X  gncEntryLedgerLayout.h \
X  gncEntryLedgerModel.h
X
libgnc_business_ledger_la_LIBADD = \
X  ${top_builddir}/src/business/business-core/libgncmod-business-core.la \
X  ${top_builddir}/src/business/business-utils/libgncmod-business-utils.la \
X  ${top_builddir}/src/business/dialog-tax-table/libgncmod-dialog-tax-table.la \
X  ${top_builddir}/src/register/register-core/libgncmod-register-core.la \
X  ${top_builddir}/src/register/register-gnome/libgncmod-register-gnome.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GTK_LIBS} \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS}
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src/business/business-core \
X  -I${top_srcdir}/src/business/business-utils \
X  -I${top_srcdir}/src/business/dialog-tax-table \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GUILE_INCS} \
X  ${GLADE_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GLIB_CFLAGS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.ledger\"
SHAR_EOF
  (set 20 10 03 26 15 09 34 'gnucash/src/business/business-ledger/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-ledger/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-ledger/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-ledger/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
94117b2a2aa9d6b5b533e37793ad007f  gnucash/src/business/business-ledger/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-ledger/Makefile.am'` -ne 1697 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-ledger/Makefile.am' is not 1697"
  fi
fi
# ============= gnucash/src/business/Makefile.am ==============
if test -f 'gnucash/src/business/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/Makefile.am' &&
SUBDIRS = \
X  business-core \
X  business-utils \
X  dialog-tax-table \
X  business-ledger \
X  business-gnome
SHAR_EOF
  (set 20 10 09 05 19 37 30 'gnucash/src/business/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
857152c3c5ba06811f4224bf8bf53ffa  gnucash/src/business/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/Makefile.am'` -ne 106 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/Makefile.am' is not 106"
  fi
fi
# ============= gnucash/src/business/business-gnome/glade/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-gnome'; then
  mkdir 'gnucash/src/business/business-gnome'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-gnome."
else ${echo} "x - failed to create directory gnucash/src/business/business-gnome."
     exit 1
fi
fi
if test ! -d 'gnucash/src/business/business-gnome/glade'; then
  mkdir 'gnucash/src/business/business-gnome/glade'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-gnome/glade."
else ${echo} "x - failed to create directory gnucash/src/business/business-gnome/glade."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-gnome/glade/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-gnome/glade/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-gnome/glade/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-gnome/glade/Makefile.am' &&
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  billterms.glade \
X  businessprefs.glade \
X  choose-owner.glade \
X  customer.glade \
X  date-close.glade \
X  employee.glade \
X  invoice.glade \
X  job.glade \
X  order.glade \
X  payment.glade \
X  vendor.glade
X
EXTRA_DIST = \
X  ${glade_DATA}
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/business/business-gnome/glade/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-gnome/glade/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-gnome/glade/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-gnome/glade/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
37c54ce4d1e0b13a008ea735366c4de6  gnucash/src/business/business-gnome/glade/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-gnome/glade/Makefile.am'` -ne 282 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-gnome/glade/Makefile.am' is not 282"
  fi
fi
# ============= gnucash/src/business/business-gnome/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-gnome/schemas'; then
  mkdir 'gnucash/src/business/business-gnome/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-gnome/schemas."
else ${echo} "x - failed to create directory gnucash/src/business/business-gnome/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-gnome/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-gnome/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-gnome/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-gnome/schemas/Makefile.am' &&
schemadir   = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_dialog_business_common.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 34 'gnucash/src/business/business-gnome/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-gnome/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-gnome/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-gnome/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
e8aa4fe6c0bd9a8c38a7bc4d0e390521  gnucash/src/business/business-gnome/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-gnome/schemas/Makefile.am'` -ne 619 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-gnome/schemas/Makefile.am' is not 619"
  fi
fi
# ============= gnucash/src/business/business-gnome/Makefile.am ==============
if test -f 'gnucash/src/business/business-gnome/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-gnome/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-gnome/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-gnome/Makefile.am' &&
SUBDIRS = . glade schemas ui
X
pkglib_LTLIBRARIES = libgncmod-business-gnome.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnome \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/gnome-search \
X  -I${top_srcdir}/src/html \
X  -I${top_srcdir}/src/report/report-gnome \
X  -I${top_srcdir}/src/business/business-core \
X  -I${top_srcdir}/src/business/business-ledger \
X  -I${top_srcdir}/src/business/dialog-tax-table \
X  -I${top_srcdir}/src/register/register-core \
X  -I${top_srcdir}/src/register/register-gnome \
X  -I${top_srcdir}/src/register/ledger-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
X
libgncmod_business_gnome_la_SOURCES = \
X  business-options-gnome.c \
X  business-urls.c \
X  business-gnome-utils.c \
X  dialog-billterms.c \
X  dialog-choose-owner.c \
X  dialog-customer.c \
X  dialog-date-close.c \
X  dialog-employee.c \
X  dialog-invoice.c \
X  dialog-job.c \
X  dialog-order.c \
X  dialog-payment.c \
X  dialog-vendor.c \
X  gnc-plugin-business.c \
X  gnc-plugin-page-invoice.c \
X  gncmod-business-gnome.c \
X  search-owner.c
X
noinst_HEADERS = \
X  business-options-gnome.h \
X  business-urls.h \
X  business-gnome-utils.h \
X  dialog-billterms.h \
X  dialog-choose-owner.h \
X  dialog-customer.h \
X  dialog-date-close.h \
X  dialog-employee.h \
X  dialog-invoice.h \
X  dialog-job.h \
X  dialog-order.h \
X  dialog-payment.h \
X  dialog-vendor.h \
X  gnc-plugin-business.h \
X  gnc-plugin-page-invoice.h \
X  search-owner.h
X
libgncmod_business_gnome_la_LDFLAGS = -avoid-version
X
libgncmod_business_gnome_la_LIBADD = \
X  ${top_builddir}/src/business/business-core/libgncmod-business-core.la \
X  ${top_builddir}/src/business/business-ledger/libgnc-business-ledger.la \
X  ${top_builddir}/src/business/dialog-tax-table/libgncmod-dialog-tax-table.la \
X  ${top_builddir}/src/register/register-core/libgncmod-register-core.la \
X  ${top_builddir}/src/register/register-gnome/libgncmod-register-gnome.la \
X  ${top_builddir}/src/report/report-gnome/libgncmod-report-gnome.la \
X  ${top_builddir}/src/gnome-search/libgncmod-gnome-search.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/html/libgncmod-html.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLADE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${EFENCE_LIBS}
X
# For Business Reports
gncscmmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash/report/
gncscmmod_DATA =
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = business-gnome.scm
X
EXTRA_DIST = \
X  ${gncmod_DATA} \
X  ${gncscmmod_DATA}
X
if GNUCASH_SEPARATE_BUILDDIR
#Only needed when srcdir and builddir are different
#for running
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links ${SCM_FILE_LINKS}
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.gnome\"
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/business/business-gnome/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-gnome/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-gnome/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-gnome/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
c7783f2425d7b0e9c0939d54adfb28cf  gnucash/src/business/business-gnome/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-gnome/Makefile.am'` -ne 3609 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-gnome/Makefile.am' is not 3609"
  fi
fi
# ============= gnucash/src/business/business-gnome/ui/Makefile.am ==============
if test ! -d 'gnucash/src/business/business-gnome/ui'; then
  mkdir 'gnucash/src/business/business-gnome/ui'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/business-gnome/ui."
else ${echo} "x - failed to create directory gnucash/src/business/business-gnome/ui."
     exit 1
fi
fi
if test -f 'gnucash/src/business/business-gnome/ui/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/business-gnome/ui/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/business-gnome/ui/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/business-gnome/ui/Makefile.am' &&
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-plugin-business-ui.xml \
X	gnc-plugin-page-invoice-ui.xml
X
EXTRA_DIST = $(ui_DATA)
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/business/business-gnome/ui/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/business-gnome/ui/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/business-gnome/ui/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/business-gnome/ui/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
543f548d042d2d3712c348dafa656535  gnucash/src/business/business-gnome/ui/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/business-gnome/ui/Makefile.am'` -ne 121 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/business-gnome/ui/Makefile.am' is not 121"
  fi
fi
# ============= gnucash/src/business/dialog-tax-table/Makefile.am ==============
if test ! -d 'gnucash/src/business/dialog-tax-table'; then
  mkdir 'gnucash/src/business/dialog-tax-table'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/business/dialog-tax-table."
else ${echo} "x - failed to create directory gnucash/src/business/dialog-tax-table."
     exit 1
fi
fi
if test -f 'gnucash/src/business/dialog-tax-table/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/business/dialog-tax-table/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/business/dialog-tax-table/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/business/dialog-tax-table/Makefile.am' &&
pkglib_LTLIBRARIES = libgncmod-dialog-tax-table.la
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/business/business-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS}
X
libgncmod_dialog_tax_table_la_SOURCES = \
X  swig-dialog-tax-table.c \
X  gncmod-dialog-tax-table.c \
X  dialog-tax-table.c
X
noinst_HEADERS = \
X  dialog-tax-table.h
X
libgncmod_dialog_tax_table_la_LDFLAGS = -avoid-version
X
libgncmod_dialog_tax_table_la_LIBADD = \
X  ${top_builddir}/src/business/business-core/libgncmod-business-core.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GLADE_LIBS} \
X  ${GUILE_LIBS} \
X  ${GNOME_LIBS} \
X  ${GLIB_LIBS} \
X  ${EFENCE_LIBS}
X
if BUILDING_FROM_SVN
swig-dialog-tax-table.c: dialog-tax-table.i ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = dialog-tax-table.scm
X
gladedir = $(GNC_GLADE_DIR)
glade_DATA = tax-tables.glade
X
EXTRA_DIST = \
X  dialog-tax-table.i \
X  ${glade_DATA} \
X  ${gncmod_DATA}
X
if GNUCASH_SEPARATE_BUILDDIR
#Only needed when srcdir and builddir are different
# for running
SCM_FILE_LINKS = ${gncmod_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
CLEANFILES = gnucash .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-dialog-tax-table.c
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.business.tax\"
SHAR_EOF
  (set 20 10 03 26 15 09 36 'gnucash/src/business/dialog-tax-table/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/business/dialog-tax-table/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/business/dialog-tax-table/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/business/dialog-tax-table/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
b207f75af971db62c9c6b9bbc3d5c746  gnucash/src/business/dialog-tax-table/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/business/dialog-tax-table/Makefile.am'` -ne 2175 && \
  ${echo} "restoration warning:  size of 'gnucash/src/business/dialog-tax-table/Makefile.am' is not 2175"
  fi
fi
# ============= gnucash/src/quotes/Makefile.am ==============
if test ! -d 'gnucash/src/quotes'; then
  mkdir 'gnucash/src/quotes'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/quotes."
else ${echo} "x - failed to create directory gnucash/src/quotes."
     exit 1
fi
fi
if test -f 'gnucash/src/quotes/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/quotes/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/quotes/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/quotes/Makefile.am' &&
bin_SCRIPTS = gnc-fq-check gnc-fq-dump gnc-fq-helper gnc-fq-update
X
EXTRA_DIST = \
X  Quote_example.pl \
X  gnc-fq-check.in \
X  gnc-fq-dump \
X  gnc-fq-helper.in \
X  gnc-fq-update.in \
X  gnc-value-portfolio
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
gnc-fq-helper: gnc-fq-helper.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-PERL-@:${PERL}:g' \
X            -e 's:@-PERLINCL-@:${PERLINCL}:g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
gnc-fq-check: gnc-fq-check.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-PERL-@:${PERL}:g' \
X            -e 's:@-PERLINCL-@:${PERLINCL}:g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
gnc-fq-update: gnc-fq-update.in Makefile
X	rm -f $@.tmp
X	sed < $< > $@.tmp \
X            -e 's:@-PERL-@:${PERL}:g' \
X            -e 's:@-PERLINCL-@:${PERLINCL}:g'
X	chmod +x $@.tmp
X	mv $@.tmp $@
X
CLEANFILES = gnc-fq-helper gnc-fq-check gnc-fq-update
SHAR_EOF
  (set 20 10 03 26 15 09 16 'gnucash/src/quotes/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/quotes/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/quotes/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/quotes/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
cedd8993b3f385061540258d9f003120  gnucash/src/quotes/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/quotes/Makefile.am'` -ne 1072 && \
  ${echo} "restoration warning:  size of 'gnucash/src/quotes/Makefile.am' is not 1072"
  fi
fi
# ============= gnucash/src/gnome-utils/glade/Makefile.am ==============
if test ! -d 'gnucash/src/gnome-utils'; then
  mkdir 'gnucash/src/gnome-utils'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-utils."
else ${echo} "x - failed to create directory gnucash/src/gnome-utils."
     exit 1
fi
fi
if test ! -d 'gnucash/src/gnome-utils/glade'; then
  mkdir 'gnucash/src/gnome-utils/glade'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-utils/glade."
else ${echo} "x - failed to create directory gnucash/src/gnome-utils/glade."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome-utils/glade/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-utils/glade/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-utils/glade/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-utils/glade/Makefile.am' &&
gladedir = $(GNC_GLADE_DIR)
glade_DATA = \
X  commodity.glade \
X  dialog-book-close.glade \
X  dialog-file-access.glade \
X  dialog-object-references.glade \
X  dialog-query-list.glade \
X  dialog-reset-warnings.glade \
X  druid-provider-multifile.glade \
X  exchange-dialog.glade \
X  druid-gconf-setup.glade \
X  druid-gnc-xml-import.glade \
X  gnc-date-format.glade \
X  gnc-gui-query.glade \
X  preferences.glade \
X  totd.glade \
X  transfer.glade
X
EXTRA_DIST = $(glade_DATA)
SHAR_EOF
  (set 20 10 03 26 15 09 40 'gnucash/src/gnome-utils/glade/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-utils/glade/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-utils/glade/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-utils/glade/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
156d7f5c8aa7a4a5d130056ae1191e5b  gnucash/src/gnome-utils/glade/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-utils/glade/Makefile.am'` -ne 467 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-utils/glade/Makefile.am' is not 467"
  fi
fi
# ============= gnucash/src/gnome-utils/schemas/Makefile.am ==============
if test ! -d 'gnucash/src/gnome-utils/schemas'; then
  mkdir 'gnucash/src/gnome-utils/schemas'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-utils/schemas."
else ${echo} "x - failed to create directory gnucash/src/gnome-utils/schemas."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome-utils/schemas/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-utils/schemas/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-utils/schemas/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-utils/schemas/Makefile.am' &&
schemadir = @GCONF_SCHEMA_FILE_DIR@
schemas_in_files = \
X  apps_gnucash_history.schemas.in
schema_DATA = $(schemas_in_files:.schemas.in=.schemas)
X
@INTLTOOL_SCHEMAS_RULE@
X
EXTRA_DIST = $(schemas_in_files)
X
CLEANFILES = $(schema_DATA)
X
install-data-local:
if GCONF_SCHEMAS_INSTALL
X	-mkdir -p $(DESTDIR)$(GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY)
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
endif
X
uninstall-local:
if GCONF_SCHEMAS_INSTALL
X	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $(schema_DATA)
endif
SHAR_EOF
  (set 20 10 03 26 15 09 38 'gnucash/src/gnome-utils/schemas/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-utils/schemas/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-utils/schemas/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-utils/schemas/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f3a086562aefb05ac47a3130f69b06c8  gnucash/src/gnome-utils/schemas/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-utils/schemas/Makefile.am'` -ne 602 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-utils/schemas/Makefile.am' is not 602"
  fi
fi
# ============= gnucash/src/gnome-utils/Makefile.am ==============
if test -f 'gnucash/src/gnome-utils/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-utils/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-utils/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-utils/Makefile.am' &&
SUBDIRS = glade schemas . test ui
X
pkglib_LTLIBRARIES = libgncmod-gnome-utils.la
X
# Note that src/gnome-utils CANNOT depend on src/gnome!
X
AM_CPPFLAGS = \
X  -I${top_srcdir}/src/core-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/backend/xml \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src \
X  -I${top_builddir}/src \
X  -I${top_srcdir}/lib/libc \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GLADE_CFLAGS} \
X  ${GTK_CFLAGS} \
X  ${GNOME_CFLAGS} \
X  ${GNOME_KEYRING_CFLAGS} \
X  ${GUILE_INCS} \
X  ${QOF_CFLAGS} \
X  ${GOFFICE_CFLAGS} \
X  ${LIBGDA_CFLAGS} \
X  ${IGE_MAC_CFLAGS}
X
libgncmod_gnome_utils_la_SOURCES = \
X  QuickFill.c \
X  account-quickfill.c \
X  cursors.c \
X  dialog-account.c \
X  dialog-book-close.c \
X  dialog-commodity.c \
X  dialog-file-access.c \
X  dialog-object-references.c \
X  dialog-options.c \
X  dialog-preferences.c \
X  dialog-query-list.c \
X  dialog-reset-warnings.c \
X  dialog-totd.c \
X  dialog-transfer.c \
X  dialog-userpass.c \
X  dialog-utils.c \
X  druid-utils.c \
X  druid-gconf-setup.c \
X  druid-gnc-xml-import.c \
X  gnc-account-sel.c \
X  gnc-amount-edit.c \
X  gnc-autosave.c \
X  gnc-commodity-edit.c \
X  gnc-currency-edit.c \
X  gnc-date-delta.c \
X  gnc-date-edit.c \
X  gnc-date-format.c \
X  gnc-dense-cal.c \
X  gnc-dense-cal-model.c \
X  gnc-dense-cal-store.c \
X  gnc-dialog.c \
X  gnc-druid-gnome.c \
X  gnc-druid-provider-edge-gnome.c \
X  gnc-druid-provider-file-gnome.c \
X  gnc-druid-provider-multifile-gnome.c \
X  gnc-embedded-window.c \
X  gnc-file.c \
X  gnc-frequency.c \
X  gnc-recurrence.c \
X  gnc-general-select.c \
X  gnc-gnome-utils.c \
X  gnc-gobject-utils.c \
X  gnc-gtk-utils.c \
X  gnc-gui-query.c \
X  gnc-icons.c \
X  gnc-keyring.c \
X  gnc-main-window.c \
X  gnc-menu-extensions.c \
X  gnc-plugin-file-history.c \
X  gnc-plugin-manager.c \
X  gnc-plugin-menu-additions.c \
X  gnc-plugin-page.c \
X  gnc-plugin.c \
X  gnc-period-select.c \
X  gnc-query-list.c \
X  gnc-splash.c \
X  gnc-sx-instance-dense-cal-adapter.c \
X  gnc-sx-list-tree-model-adapter.c \
X  gnc-tree-model.c \
X  gnc-tree-model-account-types.c \
X  gnc-tree-model-account.c \
X  gnc-tree-model-budget.c \
X  gnc-tree-model-commodity.c \
X  gnc-tree-model-price.c \
X  gnc-tree-view-account.c \
X  gnc-tree-view-commodity.c \
X  gnc-tree-view-price.c \
X  gnc-tree-view-sx-list.c \
X  gnc-tree-view.c \
X  gnc-window.c \
X  gncmod-gnome-utils.c \
X  misc-gnome-utils.c \
X  search-param.c \
X  print-session.c \
X  swig-gnome-utils.c \
X  window-main-summarybar.c
X
gncincludedir = ${GNC_INCLUDE_DIR}
gncinclude_HEADERS = \
X  QuickFill.h \
X  account-quickfill.h \
X  dialog-account.h \
X  dialog-book-close.h \
X  dialog-commodity.h \
X  dialog-file-access.h \
X  dialog-preferences.h \
X  dialog-object-references.h \
X  dialog-options.h \
X  dialog-query-list.h \
X  dialog-reset-warnings.h \
X  dialog-totd.h \
X  dialog-transfer.h \
X  dialog-utils.h \
X  druid-utils.h \
X  druid-gconf-setup.h \
X  druid-gnc-xml-import.h \
X  gnc-account-sel.h \
X  gnc-amount-edit.h \
X  gnc-commodity-edit.h \
X  gnc-currency-edit.h \
X  gnc-date-delta.h \
X  gnc-date-edit.h \
X  gnc-date-format.h \
X  gnc-dense-cal.h \
X  gnc-dense-cal-model.h \
X  gnc-dense-cal-store.h \
X  gnc-druid-gnome-ui.h \
X  gnc-embedded-window.h \
X  gnc-file.h \
X  gnc-frequency.h \
X  gnc-recurrence.h \
X  gnc-general-select.h \
X  gnc-gnome-utils.h \
X  gnc-gui-query.h \
X  gnc-icons.h \
X  gnc-keyring.h \
X  gnc-main-window.h \
X  gnc-menu-extensions.h \
X  gnc-plugin-file-history.h \
X  gnc-plugin-manager.h \
X  gnc-plugin-menu-additions.h \
X  gnc-plugin-page.h \
X  gnc-plugin.h \
X  gnc-period-select.h \
X  gnc-query-list.h \
X  gnc-splash.h \
X  gnc-sx-instance-dense-cal-adapter.h \
X  gnc-sx-list-tree-model-adapter.h \
X  gnc-tree-model.h \
X  gnc-tree-model-account-types.h \
X  gnc-tree-model-account.h \
X  gnc-tree-model-budget.h \
X  gnc-tree-model-commodity.h \
X  gnc-tree-model-price.h \
X  gnc-tree-view-account.h \
X  gnc-tree-view-commodity.h \
X  gnc-tree-view-price.h \
X  gnc-tree-view-sx-list.h \
X  gnc-tree-view.h \
X  gnc-window.h \
X  misc-gnome-utils.h \
X  print-session.h \
X  gnc-dialog.h \
X  window-main-summarybar.h
X
noinst_HEADERS = \
X  gnc-autosave.h \
X  gnc-druid-gnome.h \
X  gnc-druid-provider-edge-gnome.h \
X  gnc-druid-provider-file-gnome.h \
X  gnc-druid-provider-multifile-gnome.h \
X  gnc-gobject-utils.h \
X  gnc-gtk-utils.h \
X  search-param.h
X
libgncmod_gnome_utils_la_LDFLAGS = -avoid-version
X
libgncmod_gnome_utils_la_LIBADD = \
X  ${top_builddir}/src/core-utils/libgnc-core-utils.la \
X  ${top_builddir}/src/gnc-module/libgnc-module.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/backend/xml/libgnc-backend-xml-utils.la \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  $(top_builddir)/lib/libc/libc-missing.la \
X  ${top_builddir}/src/libqof/qof/libgnc-qof.la \
X  ${GNOME_LIBS} \
X  ${GNOME_KEYRING_LIBS} \
X  ${GLADE_LIBS} \
X  ${GUILE_LIBS} \
X  ${GLIB_LIBS} \
X  ${DB_LIBS} \
X  ${REGEX_LIBS} \
X  ${LIBXML2_LIBS} \
X  ${IGE_MAC_LIBS}
X
if HAVE_X11_XLIB_H
X  libgncmod_gnome_utils_la_LIBADD += -lX11
endif
X
if BUILDING_FROM_SVN
swig-gnome-utils.c: gnome-utils.i \
X                    ${top_srcdir}/src/base-typemaps.i
X	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
X	-I${top_srcdir}/src -o $@ $<
endif
X
gncmoddir = ${GNC_SHAREDIR}/guile-modules/gnucash
gncmod_DATA = gnome-utils.scm 
X
gncscmdir = ${GNC_SHAREDIR}/scm
gncscm_DATA = gnc-menu-extensions.scm
X
EXTRA_DIST = \
X  gnc-svninfo.h \
X  gnome-utils.i \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
X
## We borrow guile's convention and use @-...-@ as the substitution
## brackets here, instead of the usual @...@.  This prevents autoconf
## from substituting the values directly into the left-hand sides of
## the sed substitutions.
gnc-version.h: _gnc-version.h
X	-if [ ! -f gnc-version.h ]; then cp _gnc-version.h gnc-version.h; fi
X	-cmp -s _gnc-version.h gnc-version.h || cp _gnc-version.h gnc-version.h
X	-rm -f _gnc-version.h
X
_gnc-version.h: gnc-svninfo.h Makefile
X	@echo "/* Autogenerated. Do not change. */"	 > _gnc-version.h
X	@echo "#ifndef GNC_VERSION_H"			>> _gnc-version.h
X	@echo "#define GNC_VERSION_H"			>> _gnc-version.h
X	@echo ""					>> _gnc-version.h
X	@svninfo=`${top_srcdir}/util/gnc-svnversion ${top_srcdir}` ; \
X	if [ $$? = 0 ] ; then \
X		echo "#define GNUCASH_SVN 1"		>> _gnc-version.h ; \
X	fi
X	@echo "#define GNUCASH_BUILD_DATE \"`date +%Y-%m-%d`\"" >> _gnc-version.h
X	@echo "#include \"gnc-svninfo.h\""		>> _gnc-version.h
X	@echo "#endif"					>> _gnc-version.h
X
gnc-svninfo.h: _gnc-svninfo.h
X	-if [ ! -f gnc-svninfo.h ]; then cp _gnc-svninfo.h gnc-svninfo.h; fi
X	-cmp -s _gnc-svninfo.h gnc-svninfo.h || cp _gnc-svninfo.h gnc-svninfo.h
X	-rm -f _gnc-svninfo.h
X
_gnc-svninfo.h: Makefile
X	@svninfo=`${top_srcdir}/util/gnc-svnversion ${top_srcdir}` ; \
X	if [ $$? = 0 ] ; then \
X		if [ -z "$$svninfo" ] ; then \
X			echo "gnc-svnversion failed.  figure out why." ; \
X			echo "can't determine svn revision from ${top_srcdir}." ; \
X			exit 1 ; \
X		fi ; \
X		echo "/* Autogenerated. Do not change. */" > _gnc-svninfo.h ; \
X		echo "#define GNUCASH_SVN_REV \"$$svninfo\"" >> _gnc-svninfo.h ; \
X	else \
X		if [ -r $(srcdir)/gnc-svninfo.h ] ; then \
X			cp $(srcdir)/gnc-svninfo.h _gnc-svninfo.h ; \
X		else \
X			echo "You're building from SVN...  But your build system is broken" ; \
X			echo "Don't do that.   Complain to your build-system creator." ; \
X			exit 1 ; \
X		fi ; \
X	fi
X
BUILT_SOURCES = gnc-version.h
X
if GNUCASH_SEPARATE_BUILDDIR
#For executing test cases
SCM_FILE_LINKS = \
X  ${gncmod_DATA} \
X  ${gncscm_DATA}
endif
X
X.scm-links: 
X	$(RM) -rf gnucash
X	mkdir -p  gnucash
if GNUCASH_SEPARATE_BUILDDIR
X	for X in ${SCM_FILE_LINKS} ; do \
X	  $(LN_S) -f ${srcdir}/$$X . ; \
X	done
endif
X	( cd gnucash; for A in $(gncmod_DATA) ; do $(LN_S) -f ../$$A . ; done )
if ! OS_WIN32
# Windows knows no "ln -s" but uses "cp": must copy every time (see bug #566567).
X	touch .scm-links
endif
X
noinst_DATA = .scm-links
CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links ${SCM_FILE_LINKS}
MAINTAINERCLEANFILES = swig-gnome-utils.c
X
# FIXME: Symlinking directories only works on non-win32.
if !PLATFORM_WIN32
#
# I hate inconsistent standards. Autotools puts help files into
# ${datadir}/gnome/help/${program} while the gnome2 libraries expect
# them in ${pkgdatadir}/gnome/help/${program}.
#
install-data-hook:
X	$(LN_S) -f ../gnome ${DESTDIR}${pkgdatadir}
X
uninstall-hook:
X	rm -f ${DESTDIR}${pkgdatadir}/gnome
endif
X
INCLUDES = -DG_LOG_DOMAIN=\"gnc.gui\"
SHAR_EOF
  (set 20 10 03 26 15 09 42 'gnucash/src/gnome-utils/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-utils/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-utils/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-utils/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
f41ed3c3fc7d4e7bf74f5fb2a1583563  gnucash/src/gnome-utils/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-utils/Makefile.am'` -ne 8426 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-utils/Makefile.am' is not 8426"
  fi
fi
# ============= gnucash/src/gnome-utils/ui/Makefile.am ==============
if test ! -d 'gnucash/src/gnome-utils/ui'; then
  mkdir 'gnucash/src/gnome-utils/ui'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-utils/ui."
else ${echo} "x - failed to create directory gnucash/src/gnome-utils/ui."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome-utils/ui/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-utils/ui/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-utils/ui/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-utils/ui/Makefile.am' &&
uidir = $(GNC_UI_DIR)
ui_DATA = \
X	gnc-main-window-ui.xml \
X	osx_accel_map
X
EXTRA_DIST = $(ui_DATA)
SHAR_EOF
  (set 20 10 06 19 21 09 42 'gnucash/src/gnome-utils/ui/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-utils/ui/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-utils/ui/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-utils/ui/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
4c24d198ee8b4b76744cd0b8d130e9d5  gnucash/src/gnome-utils/ui/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-utils/ui/Makefile.am'` -ne 100 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-utils/ui/Makefile.am' is not 100"
  fi
fi
# ============= gnucash/src/gnome-utils/test/Makefile.am ==============
if test ! -d 'gnucash/src/gnome-utils/test'; then
  mkdir 'gnucash/src/gnome-utils/test'
if test $? -eq 0
then ${echo} "x - created directory gnucash/src/gnome-utils/test."
else ${echo} "x - failed to create directory gnucash/src/gnome-utils/test."
     exit 1
fi
fi
if test -f 'gnucash/src/gnome-utils/test/Makefile.am' && test "$first_param" != -c; then
${echo} "x - SKIPPING gnucash/src/gnome-utils/test/Makefile.am (file already exists)"
else
${echo} "x - extracting gnucash/src/gnome-utils/test/Makefile.am (text)"
  sed 's/^X//' << 'SHAR_EOF' > 'gnucash/src/gnome-utils/test/Makefile.am' &&
TESTS =  \
X  test-link-module test-load-module
X
# The following tests are nice, but have absolutely no place in an
# automated testing system.
#
TESTS_GUI = test-gnc-recurrence test-gnc-dialog
X
##lib_LTLIBRARIES = libgncgnome.la
X
GNC_TEST_DEPS = --gnc-module-dir ${top_builddir}/src/engine \
X  --gnc-module-dir ${top_builddir}/src/gnome-utils \
X  --guile-load-dir ${top_builddir}/src/gnc-module \
X  --guile-load-dir ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/lib/libqof/qof \
X  --library-dir    ${top_builddir}/src/core-utils \
X  --library-dir    ${top_builddir}/src/gnc-module \
X  --library-dir    ${top_builddir}/src/engine \
X  --library-dir    ${top_builddir}/src/backend/xml \
X  --library-dir    ${top_builddir}/src/app-utils \
X  --library-dir    ${top_builddir}/src/gnome-utils
X
TESTS_ENVIRONMENT = \
X  $(shell ${top_srcdir}/src/gnc-test-env --no-exports ${GNC_TEST_DEPS})
X
check_PROGRAMS = \
X  test-link-module test-gnc-recurrence test-gnc-dialog
X
INCLUDES= \
X  -I${top_srcdir}/src \
X  -I${top_srcdir}/src/engine \
X  -I${top_srcdir}/src/engine/test-core \
X  -I${top_srcdir}/src/gnome-utils \
X  -I${top_srcdir}/src/gnc-module \
X  -I${top_srcdir}/src/app-utils \
X  -I${top_srcdir}/src/test-core \
X  -I${top_srcdir}/src/libqof/qof \
X  ${GLIB_CFLAGS} \
X  ${GUILE_INCS} \
X  ${GNOME_CFLAGS} \
X  ${GLADE_CFLAGS}
X
LDADD = \
X  ${GNOME_LIBS} \
X  ${top_builddir}/src/app-utils/libgncmod-app-utils.la \
X  ${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
X  ${top_builddir}/src/engine/libgncmod-engine.la \
X  ${top_builddir}/src/engine/test-core/libgncmod-test-engine.la \
X  ${top_builddir}/src/test-core/libtest-core.la
X
test_gnc_recurrence_SOURCES=test-gnc-recurrence.c
X
test_link_module_SOURCES=test-link-module.c
test_link_module_LDADD = \
X  ${GUILE_LIBS} \
X  ${top_builddir}/src/gnc-module/libgnc-module.la
X
EXTRA_DIST = \
X  test-load-module
X
testit:
X	libtool --mode execute gdb test-link-module
SHAR_EOF
  (set 20 10 04 11 02 22 18 'gnucash/src/gnome-utils/test/Makefile.am'
   eval "${shar_touch}") && \
  chmod 0644 'gnucash/src/gnome-utils/test/Makefile.am'
if test $? -ne 0
then ${echo} "restore of gnucash/src/gnome-utils/test/Makefile.am failed"
fi
  if ${md5check}
  then (
       ${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'gnucash/src/gnome-utils/test/Makefile.am': 'MD5 check failed'
       ) << \SHAR_EOF
2ca082545ba7b44eb677ccc8f1c03cc5  gnucash/src/gnome-utils/test/Makefile.am
SHAR_EOF
  else
test `LC_ALL=C wc -c < 'gnucash/src/gnome-utils/test/Makefile.am'` -ne 1924 && \
  ${echo} "restoration warning:  size of 'gnucash/src/gnome-utils/test/Makefile.am' is not 1924"
  fi
fi
if rm -fr ${lock_dir}
then ${echo} "x - removed lock directory ${lock_dir}."
else ${echo} "x - failed to remove lock directory ${lock_dir}."
     exit 1
fi
exit 0
